aws / aws/aws-cli

cloudformation package should append profile name to deploy command

Open
#3,083 4 comments 1 reaction 0 assignees View on GitHub
cloudformation package-deploy customization feature-request p3
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.