【发布时间】:2019-03-26 17:21:14
【问题描述】:
假设我有在 json 文件中创建 cloudformation 堆栈所需的所有参数,但想覆盖参数文件中的一些参数..这可能吗?
aws cloudformation create-stack \
--stack-name sample-stack \
--template-body file://sample-stack.yaml \
--parameters file://sample-stack.json \
--capabilities CAPABILITY_IAM \
--disable-rollback \
--region us-east-1 \
--output json && \
aws cloudformation wait stack-create-complete \
--stack-name sample-stack
所以可以说sample-stack.json 文件中有 10 个参数,但我有 2 个参数我想从该文件中覆盖。
这可能吗?
谢谢
【问题讨论】:
标签: amazon-web-services amazon-cloudformation