`cfn submit --set-default` isn't correctly defaulting to true
See original GitHub issueIn submit.py
, line 35 it looks as though --set-default
is supposed to default to true. When I submit resources, the default version is not updated unless I specify --set-default
explicitly.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
submit - CloudFormation Command Line Interface
The following command registers your extension. cfn submit --set-default.
Read more >Walkthrough: Develop a resource type - CloudFormation ...
In this walkthrough, we'll use the CloudFormation CLI to create a sample resource type, Example::Testing::WordPress . This includes modeling the schema, ...
Read more >Writing an AWS CloudFormation Resource Provider in ...
If you used submit multiple times, you can use `cfn submit –set-default` to immediately update the version used by CloudFormation.
Read more >AWS CloudFormation Hooks
AWS CloudFormation Hooks allows users to verify AWS infrastructure components defined in AWS CloudFormation templates, like S3 Buckets or ...
Read more >Using CloudFormation Modules for Serverless Standard ...
Now we use the time to look at the deploy command: cfn submit -v --set-default. submit ist the deploy command for the module....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
for some context,
--set-default
is because it didn’t used to set the default, and we didn’t want to change this behaviour. i’m not sure if any automated deployment is usingcfn submit
already, but a change like this would require a bit of a version bump and a warning in the changelog at the very least. (in hindsight, it would’ve been super useful to always do this and have the automated case use--no-set-default
or something)Here’s the current description of the command:
Do you think additional info should be added here?