-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Enable deploy parameters to be passed in via JSON, like the aws cli #1938
Comments
We would happily accept a PR for this, otherwise it's on our list of UX issues to fix. |
@rupe120 |
@mgrandis What I was looking for was the JSON format file import that is supported by CloudFormation. The intention is that JSON is a more accessible format for manipulation in automation. For instance, I can use the JSON format with the jq bash command |
@rupe120 I knocked this up a little while ago to address my need for the same https://github.com/mokele/template-configuration |
@mokele |
I should have been more specific sorry!
|
@mokele I understood what you were saying, which is why I re-highlighted the JSON format that was the primary focus of my proposal |
hello, do you plan to implement this in close future? Our team is planning to use SAM and it would be great to get this feature in our pipelines :) |
Duplicate #2054 |
|
Describe your idea/feature/enhancement
When performing a
aws cloudformation create-stack
the--parameters
option can be passed a JSON filehttps://docs.aws.amazon.com/cli/latest/reference/cloudformation/create-stack.html
Please enable this functionality for
sam deploy
Proposal
If a JSON file refrence is passed like so
sam deploy --parameter-overrides <file path>
, attempt to read the parameters from the file. The file should follow the same spec as in the aws cliAdditional Details
This would make certain code deployment integrations much easier, being able to refrence a single parameters file from different scripts.
The text was updated successfully, but these errors were encountered: