Region not honored when creating credentials

Create issue
Issue #4 resolved
Chris Wensel created an issue

Looks like the credentials are always created for (see AmazonECRClient:278)

I hard coded ecrClient.setRegion( Region.getRegion( Regions.US_WEST_2 ) ) in AwsecrPlugin and the push worked for me.

Looks like you can just capture the later part of the repo url and call ecrClient.setEndpoint() instead of capturing the region from the repo url (or requiring a region property). but I haven't tried it.

Comments (2)

  1. Log in to comment