-
Notifications
You must be signed in to change notification settings - Fork 4.5k
cloudformation package should append profile name to deploy command #3083
Copy link
Copy link
Open
Labels
cloudformation package-deploycustomizationIssues related to CLI customizations (located in /awscli/customizations)Issues related to CLI customizations (located in /awscli/customizations)feature-requestA feature should be added or improved.A feature should be added or improved.p3This is a minor priority issueThis is a minor priority issue
Description
If the user uses the --profile flag during the package command, that flag should be echoed in the resulting deploy command that is issued. For example:
aws cloudformation package --template-file cloudformation/sam.yaml --output-template-file b.yaml --s3-bucket sam-bucket --s3-prefix sam --profile sam-app
should produce
Successfully packaged artifacts and wrote output template to file b.yaml.
Execute the following command to deploy the packaged template
aws cloudformation deploy --template-file b.yaml --profile sam-app --stack-name <YOUR STACK NAME>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cloudformation package-deploycustomizationIssues related to CLI customizations (located in /awscli/customizations)Issues related to CLI customizations (located in /awscli/customizations)feature-requestA feature should be added or improved.A feature should be added or improved.p3This is a minor priority issueThis is a minor priority issue