Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECR repository tag-on-create #8198

Merged
merged 1 commit into from
Apr 4, 2019
Merged

Conversation

ewbankkit
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Fixes #8195.
Tag ECR repositories on creation to prevent potential IAM permission issues.
Acceptance tests:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSEcrRepository_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws/ -v -parallel 20 -run=TestAccAWSEcrRepository_ -timeout 120m
=== RUN   TestAccAWSEcrRepository_basic
=== PAUSE TestAccAWSEcrRepository_basic
=== RUN   TestAccAWSEcrRepository_tags
=== PAUSE TestAccAWSEcrRepository_tags
=== CONT  TestAccAWSEcrRepository_basic
=== CONT  TestAccAWSEcrRepository_tags
--- PASS: TestAccAWSEcrRepository_basic (16.62s)
--- PASS: TestAccAWSEcrRepository_tags (25.10s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	25.118s

@ghost ghost added size/XS Managed by automation to categorize the size of a PR. service/ecr Issues and PRs that pertain to the ecr service. labels Apr 4, 2019
@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label Apr 4, 2019
@bflad bflad added this to the v2.5.0 milestone Apr 4, 2019
Copy link
Member

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @ewbankkit 🚀

Output from acceptance testing (AWS Standard):

--- PASS: TestAccAWSEcrRepository_basic (12.47s)
--- PASS: TestAccAWSEcrRepository_tags (19.46s)

Output from acceptance testing (AWS GovCloud (US)):

--- PASS: TestAccAWSEcrRepository_basic (15.37s)
--- PASS: TestAccAWSEcrRepository_tags (24.79s)

@bflad bflad merged commit b7be9e6 into hashicorp:master Apr 4, 2019
bflad added a commit that referenced this pull request Apr 4, 2019
@ewbankkit ewbankkit deleted the issue-8195 branch April 5, 2019 09:50
@bflad
Copy link
Member

bflad commented Apr 5, 2019

This has been released in version 2.5.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Mar 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ecr Issues and PRs that pertain to the ecr service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ECR Repository Tags Support is Broken
2 participants