-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Labels
cloudformation package-deploycommunitycontribution-readyfeature-requestA feature should be added or improved.A feature should be added or improved.p2This is a standard priority issueThis is a standard priority issue
Description
I used aws-cli to update my stacks, and want to use an external yaml file (dev.yaml) as parameters file like below:
aws cloudformation update-stack --stack-name test --template-body file://./api-test.yaml --parameters file://./dev.yamlIn dev.yaml, it only has:
---
- ParameterKey: APICacheClusterSize
ParameterValue: '1.6'However, I got this Error message when I run the update command above:
Error parsing parameter '--parameters': Expected: '=', received: '-' for input:
---
- ParameterKey: APICacheClusterSize
^
ParameterValue: '1.6'
If I use JSON file with same context as below, and use it instead of dev.yaml, it works fine:
[
{
"ParameterKey": "APICacheClusterSize",
"ParameterValue": "1.6"
}
]So, can the external parameters file for aws cloudformation be YAML file? or will...?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cloudformation package-deploycommunitycontribution-readyfeature-requestA feature should be added or improved.A feature should be added or improved.p2This is a standard priority issueThis is a standard priority issue
Type
Projects
Status
Audit