Skip to content

Successfully message didn't show region #1704

@timoschilling

Description

@timoschilling

Description

If you configure your region via ~/.aws/config, the sam deploy command didn't show the region in the successfully message.sam uses this config to resolve the region if you deploy with --profile.

Steps to reproduce

# ~/.aws/config
[profile my-profile]
region = eu-central-1

sam deploy --profile my-profile ...

Observed result

Successfully created/updated stack - STACK-NAME in None

Expected result

Successfully created/updated stack - STACK-NAME in eu-central-1

This result happens if you deploy with:
sam deploy --profile my-profile --region eu-central-1 ...

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: macOS 10.15
  2. sam --version: 0.39.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/profilesblocked/more-info-neededMore info is needed from the requester. If no response in 14 days, it will become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions