terraformer
约 1 分钟阅读
- GoogleCloudPlatform/terraformerGitHubGoogleCloudPlatform/terraformerGoogleCloudPlatform/terraformer · -笔记:terraformer
{output}/{provider}/{service}/{resource}.tf
brew install terraformer
brew install aliyun-cli
aliyun configure
cat ~/.aliyun/config.json
terraformer import alicloud --resources=dns --profile=default
terraformer import alicloud --resources=ecs --regions=cn-shanghai --profile=default
terraformer import alicloud --resources=ecs,sg,rds,vswitch --regions=cn-shanghai --profile=default -o . -p aliyun-FAQ
You must complete the Terraform 0.13 upgrade process before upgrading to later versions.
terraform state replace-provider -auto-approve "registry.terraform.io/-/alicloud" "hashicorp/alicloud"关联信息
反向链接、本文链接的其他页面和外部资料。
参考资料
GitHub1 条
- GoogleCloudPlatform/terraformergithub.com/GoogleCloudPlatform/terraformer