简体   繁体   中英

How do I manage a lot of cloudformation template/stacks on aws?

我有大约 5 个 cloudformation 模板,我想知道如何以这样的方式管理它们,将有一个主模板可以从 5 个模板中导入资源,并添加可以阻止某些参数在未安装时安装的条件需要。

You could make use of Cloudformation nested stacks , and conditionally deploy child stacks in your master stack.

Based on the docs :

Using nested stacks to declare common components is considered a best practice.

I'd recommend reading through those best practices to make sure this is the best choice for your situation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM