Skip to content

Fix ECR login for registries not in profile region

Choose a tag to compare

@mmmorris1975 mmmorris1975 released this 27 Apr 17:06
· 51 commits to master since this release

The ecr login command was failing to authenticate to registries which weren't in the region specified in the profile (profile says us-east-1, registry is in us-west-2). Explicitly set the region when calling GetAuthorizationToken to the region specified in the ECR registry URL.

Fixes #81