Skip to content

cloudformation package should append profile name to deploy command #3083

@bbendick

Description

@bbendick

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    cloudformation package-deploycustomizationIssues related to CLI customizations (located in /awscli/customizations)feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions