gpt4 book ai didi

aws-cloudformation - 管理 Cloudformation 模板中的参数

转载 作者:行者123 更新时间:2023-12-03 07:41:54 24 4
gpt4 key购买 nike

我正在部署一个cloudformation模板(预先构建并由AWS提供),并正在寻找一种控制参数的方法(即使用新参数定期更新它)。我想知道是否有程序化的最佳实践来管理这个问题?

谢谢!

最佳答案

如果您想要更新现有堆栈,可以使用 aws-cli 并使用指定的 --parameters 参数运行 aws cloudformation update-stack 命令你想要的参数。如果需要,您还可以使用 --template-body--template-url 更新模板本身。

文档:https://docs.aws.amazon.com/cli/latest/reference/cloudformation/update-stack.html

关于aws-cloudformation - 管理 Cloudformation 模板中的参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65100184/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com