@@ -20,6 +20,11 @@ The following cloud providers are supported:
20
20
- Azure Virtual Machine
21
21
- Openstack Nova
22
22
23
+ NOTE: `huawei` is an alias for `openstack`. Huawei cloud runs on OpenStack platform, and when
24
+ viewed from a metadata API standpoint, it is impossible to differentiate it from OpenStack. If you know that your
25
+ deployments run on Huawei Cloud exclusively, and you wish to have `cloud.provider` value as `huawei`, you can achieve
26
+ this by overwriting the value using an `add_fields` processor.
27
+
23
28
The Alibaba Cloud and Tencent cloud providers are disabled by default, because
24
29
they require to access a remote host. The `providers` setting allows users to
25
30
select a list of default providers to query.
@@ -52,10 +57,9 @@ List of names the `providers` setting supports:
52
57
- "digitalocean" for Digital Ocean (enabled by default).
53
58
- "aws", or "ec2" for Amazon Web Services (enabled by default).
54
59
- "gcp" for Google Copmute Enging (enabled by default).
55
- - "openstack", or "nova " for Openstack Nova (enabled by default).
60
+ - "openstack", "nova", or "huawei " for Openstack Nova (enabled by default).
56
61
- "openstack-ssl", or "nova-ssl" for Openstack Nova when SSL metadata APIs are enabled (enabled by default).
57
62
- "tencent", or "qcloud" for Tencent Cloud (disabled by default).
58
- - "huawei" for Huawei Cloud (enabled by default).
59
63
60
64
The third optional configuration setting is `overwrite`. When `overwrite` is
61
65
`true`, `add_cloud_metadata` overwrites existing `cloud.*` fields (`false` by
@@ -126,20 +130,6 @@ _Tencent Cloud_
126
130
}
127
131
-------------------------------------------------------------------------------
128
132
129
- _Huawei Cloud_
130
-
131
- [source,json]
132
- -------------------------------------------------------------------------------
133
- {
134
- "cloud": {
135
- "availability_zone": "cn-east-2b",
136
- "instance.id": "37da9890-8289-4c58-ba34-a8271c4a8216",
137
- "provider": "huawei",
138
- "region": "cn-east-2"
139
- }
140
- }
141
- -------------------------------------------------------------------------------
142
-
143
133
_Alibaba Cloud_
144
134
145
135
This metadata is only available when VPC is selected as the network type of the
0 commit comments