Amazon web services aws cli云信息更新堆栈集标记?
我只需要更新AWS cloudformation堆栈的标记 不幸的是,您不能:Amazon web services aws cli云信息更新堆栈集标记?,amazon-web-services,amazon-cloudformation,aws-cli,Amazon Web Services,Amazon Cloudformation,Aws Cli,我只需要更新AWS cloudformation堆栈的标记 不幸的是,您不能: aws cloudformation update-stack --tags <tags> aws云信息更新堆栈--标记 有人知道这方面的最佳流程吗 如果我这样做: aws cloudformation update-stack --use-previous-template --template-body <JSON blob> aws cloudformation更新堆栈--使用以前
aws cloudformation update-stack --tags <tags>
aws云信息更新堆栈--标记
有人知道这方面的最佳流程吗
如果我这样做:
aws cloudformation update-stack --use-previous-template --template-body <JSON blob>
aws cloudformation更新堆栈--使用以前的模板--模板正文
模板正文是否会添加到以前的模板中,覆盖以前的值
是否可以下载live cloudformation JSON?不确定是否只通过cli更新标记。但是,在aws控制台中执行此操作非常容易 通过提供新的JSON模板更新堆栈将覆盖以前的模板
您可以使用仪表板(CFN->template选项卡)或使用下载模板(据我所知),cli“get template”调用没有填写安装过程中输入的所有信息,例如缺少资源。有办法得到这个吗?将当前配置刷新为JSON的方法?@norm-您是指输入的参数吗?(我认为这也有一个API)。“get template”API将返回与创建堆栈时提供的JSON模板相同的JSON模板。缺少哪些资源?配置是什么意思?据我所知,没有用于刷新活动配置的API。有一个descripe-statcks API,但它生成的JSON文档不足以重新创建活动堆栈,这意味着它是配置的不完整刷新。也许没有办法做到这一点。