Cloud

Status: Experimental

type: cloud

Description: A cloud infrastructure (e.g. GCP, Azure, AWS).

AttributeTypeDescriptionExamplesRequirement Level
cloud.providerstringName of the cloud provider.alibaba_cloudRecommended
cloud.account.idstringThe cloud account ID the resource is assigned to.111111111111; opentelemetryRecommended
cloud.regionstringThe geographical region the resource is running. [1]us-central1; us-east-1Recommended
cloud.availability_zonestringCloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running. [2]us-east-1cRecommended
cloud.platformstringThe cloud platform in use. [3]alibaba_cloud_ecsRecommended

[1]: Refer to your provider’s docs to see the available regions, for example Alibaba Cloud regions, AWS regions, Azure regions, Google Cloud regions, or Tencent Cloud regions.

[2]: Availability zones are called “zones” on Alibaba Cloud and Google Cloud.

[3]: The prefix of the service SHOULD match the one specified in cloud.provider.

cloud.provider has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.

ValueDescription
alibaba_cloudAlibaba Cloud
awsAmazon Web Services
azureMicrosoft Azure
gcpGoogle Cloud Platform
tencent_cloudTencent Cloud

cloud.platform has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.

ValueDescription
alibaba_cloud_ecsAlibaba Cloud Elastic Compute Service
alibaba_cloud_fcAlibaba Cloud Function Compute
aws_ec2AWS Elastic Compute Cloud
aws_ecsAWS Elastic Container Service
aws_eksAWS Elastic Kubernetes Service
aws_lambdaAWS Lambda
aws_elastic_beanstalkAWS Elastic Beanstalk
aws_app_runnerAWS App Runner
azure_vmAzure Virtual Machines
azure_container_instancesAzure Container Instances
azure_aksAzure Kubernetes Service
azure_functionsAzure Functions
azure_app_serviceAzure App Service
gcp_compute_engineGoogle Cloud Compute Engine (GCE)
gcp_cloud_runGoogle Cloud Run
gcp_kubernetes_engineGoogle Cloud Kubernetes Engine (GKE)
gcp_cloud_functionsGoogle Cloud Functions (GCF)
gcp_app_engineGoogle Cloud App Engine (GAE)
tencent_cloud_cvmTencent Cloud Cloud Virtual Machine (CVM)
tencent_cloud_eksTencent Cloud Elastic Kubernetes Service (EKS)
tencent_cloud_scfTencent Cloud Serverless Cloud Function (SCF)