产品动态
安全公告
产品公告
unzip terraform_1.x.x_linux_amd64.zip
~/.profile 文件中。echo $"export PATH=\\$PATH:$(pwd)" >> ~/.bash_profile
source ~/.bash_profile
Path,将 terraform.exe 的绝对路径加入其中。如下图所示:
本文以 Windows 10 操作系统为例,terraform.exe 位于 D:\\xxxx\\terraform 文件下。
terraform -version
> Terraform v1.0.10> on darwin_amd64> Your version of Terraform is out of date! The latest version> is 1.1.0. You can update by downloading from https://www.terraform.io/downloads.html

export TENCENTCLOUD_SECRET_ID=<your-secret-id>export TENCENTCLOUD_SECRET_KEY=<your-secret-key>
provider.tf 文件,输入如下内容:
<your-secret-id> 及 <your-secret-key> 请替换为 获取凭证 中的 SecretId 和 SecretKey。provider "tencentcloud" {secret_id = "<your-secret-id>"secret_key = "<your-secret-key>"}
文档反馈