Skip to main content
Version: v1.2

Addon Cloud Resources

Terraform addon#

vela addon enable terraform

Terraform Provider addon for Alibaba Cloud#

Enable Terraform Alibaba Cloud Provider as below to provision and/or consume cloud resources.

Here is how to get access key. Set the value for ALICLOUD_REGION by picking one RegionId from Alibaba Cloud region list. You can also set the value for parameter ALICLOUD_SECURITY_TOKEN, which is optional, per this doc.

vela addon enable terraform-alibaba ALICLOUD_ACCESS_KEY=<xxx> ALICLOUD_SECRET_KEY=<yyy> ALICLOUD_REGION=<region>

Terraform Provider addon for Azure#

Enable Terraform Azure Provider as below to provision and/or consume cloud resources.

Set these parameters below per Authenticate Terraform to Azure.

vela addon enable terraform-azure ARM_CLIENT_ID=<aaa> ARM_CLIENT_SECRET=<bbb> ARM_SUBSCRIPTION_ID=<ccc> ARM_TENANT_ID=<ddd>

Terraform Provider addon for AWS#

Enable Terraform AWS Provider as below to provision and/or consume cloud resources.

Set these parameters below per Authenticate Terraform to AWS.

vela addon enable terraform-aws AWS_ACCESS_KEY_ID=<aaa> AWS_SECRET_ACCESS_KEY=<bbb> AWS_DEFAULT_REGION=<region>

Terraform Provider addon for Tencent Cloud#

Enable Terraform Tencent Cloud Provider as below to provision and/or consume cloud resources.

Get TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY per this guide Get TENCENTCLOUD_REGION by picking one RegionId from Tencent Cloud region list

vela addon enable terraform-tencent TENCENTCLOUD_SECRET_ID=<xxx> TENCENTCLOUD_SECRET_KEY=<yyy> TENCENTCLOUD_REGION=<region>

Terraform Provider addon for GCP#

Enable Terraform GCP Provider as below to provision and/or consume cloud resources.

Set GOOGLE_CREDENTIALS per Add Credentials Guide. Set GOOGLE_PROJECT per Configure Provider Guide.

Set the value for GOOGLE_REGION by picking one Region from Google Cloud Platform region list.

vela addon enable provider-gcp GOOGLE_CREDENTIALS=<aaa> GOOGLE_PROJECT=<bbb> GOOGLE_REGION=<region>
Last updated on by Avery