如何使用现有环境生成 AWS CloudFormation

How to generate AWS CloudFormation using existing environments

我有现有的 AWS 配置

现在我想创建不同的环境,如 Dev、QA、UAT 和 Prod

AWS 或开源中是否有可用的选项来使用现有配置生成云形成脚本?

你应该看看 CloudFormer

CloudFormer is a template creation beta tool that creates an AWS CloudFormation template from existing AWS resources in your account. You select any supported AWS resources that are running in your account, and CloudFormer creates a template in an Amazon S3 bucket.

并非所有资源都受支持,但您可以将其用作起点,然后手动改进生成的模板。

CloudFormer 目前处于测试阶段。我们建议不要在关键或生产环境中使用它。 -- 根据 AWS 文档