linux - 如何在 aws 上管理大量 cloudformation 模板/堆栈?

标签 linux amazon-web-services aws-cloudformation devops

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

最佳答案

您可以利用 Cloudformation nested stacks ,并有条件地在主堆栈中部署子堆栈。

基于docs :

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

我建议阅读这些 best practices确保这是适合您情况的最佳选择

关于linux - 如何在 aws 上管理大量 cloudformation 模板/堆栈?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59710622/

相关文章:

php - 是否可以在 Windows (XAMPP) 和 Linux (LAMP) 上使用相同的 MySQL 数据库?

linux - Avconv广播视频流

linux - 停止在 kestrel 上运行的正在运行的 dotnet 核心网站

amazon-web-services - 将 Azure 管道变量作为类型 : Number 的参数传递给 AWS Cloudformation 模板

cloud-init - cloudformation 似乎没有在 UserData 中运行(或创建)脚本

c# - Linux 上的 Unity 给出 CS0518 错误。 System.$Everything 未定义

amazon-web-services - AWS S3 文件夹放置事件通知

java - 上传文件到S3

amazon-web-services - 使用 ALB 入口 Controller 将非 www 重定向到 www

amazon-web-services - AWS Cloudformation 创建 CachePolicy 组件时出错