- Create a bucket for backend.tf to store Terraform state file
- Generate API secrets in TecentCloud DNSPod Console
- Provide credentials via TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY environment variables
$ export TENCENTCLOUD_SECRET_ID="my-secret-id"
$ export TENCENTCLOUD_SECRET_KEY="my-secret-key"
terraform init
terraform plan
terraform apply
terraform destroy