TerraForm AWS:是否可以一次导入所有 AWS 资源? | terraform 一次导入所有服务
TerraForm AWS: Is it possible to Import all AWS Resources in one time? | terraform import all services in one time
目前我开始在旧的 AWS 基础设施上工作,并试图通过“terraform 导入”分别了解所有当前服务状态,但我想一次性导入所有服务以节省时间并确保我拥有所有 aws 服务。
那么是否可以一次导入所有AWS资源?
非常感谢您的提前帮助。
米尔
So my is it possible to import all AWS Resources in one time?
不直接与 TF 联系。但是您可以使用名为 Former2 的第三方开源工具,它可以从现有资源生成 TF 代码:
Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources
我最近不得不自己做这个,我强烈推荐 terraformer。
A CLI tool that generates tf/json and tfstate files based on existing
infrastructure (reverse Terraform).
它支持相当多Terraform providers。我刚刚针对 AWS 对其进行了测试,它非常有效。 ;)
目前我开始在旧的 AWS 基础设施上工作,并试图通过“terraform 导入”分别了解所有当前服务状态,但我想一次性导入所有服务以节省时间并确保我拥有所有 aws 服务。
那么是否可以一次导入所有AWS资源?
非常感谢您的提前帮助。
米尔
So my is it possible to import all AWS Resources in one time?
不直接与 TF 联系。但是您可以使用名为 Former2 的第三方开源工具,它可以从现有资源生成 TF 代码:
Generate CloudFormation / Terraform / Troposphere templates from your existing AWS resources
我最近不得不自己做这个,我强烈推荐 terraformer。
A CLI tool that generates tf/json and tfstate files based on existing infrastructure (reverse Terraform).
它支持相当多Terraform providers。我刚刚针对 AWS 对其进行了测试,它非常有效。 ;)