-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/deploysam deploy commandsam deploy commandmaintainer/need-followupstage/pm-reviewWaiting for review by our Product Manager, please don't work on this yetWaiting for review by our Product Manager, please don't work on this yettype/featureFeature requestFeature request
Description
Description:
I would like to store configuration is version control and make deployment steps immutable. Instead of changing parameter overrides on the command line I would like to provide template parameters from a file.
There is an idiom for this in aws cloudformation create-stack --parameters file://.
Steps to reproduce the issue:
sam deploy --parameter-overrides file://params.json
Observed result:
Error: Invalid value for '--parameter-overrides': file://params.json is not in valid format. It must look something like 'ParameterKey=KeyPairName,ParameterValue=MyKey ParameterKey=InstanceType,ParameterValue=t1.micro' or 'KeyPairName=MyKey InstanceType=t1.micro'
Expected result:
Deploying with following values
===============================
Stack name : ...
Region : ...
Confirm changeset : ...
Deployment s3 bucket : ...
Capabilities : ...
Parameter overrides : {'MyParamOverride': 'MyParamValue'}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/deploysam deploy commandsam deploy commandmaintainer/need-followupstage/pm-reviewWaiting for review by our Product Manager, please don't work on this yetWaiting for review by our Product Manager, please don't work on this yettype/featureFeature requestFeature request