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

Timeout retries for ECR resources #9079

Merged
merged 3 commits into from
Jun 27, 2019
Merged

Timeout retries for ECR resources #9079

merged 3 commits into from
Jun 27, 2019

Conversation

ryndaniels
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

Related #7873

Release note for CHANGELOG:

BUG FIXES:
* resource/aws_ecr_repository: Final retries when reading and deleting ECR repositories
* resource/aws_ecr_repository_policy: Final retries when creating and updating ECR repository policies

Output from acceptance testing:

$ make testacc TESTARGS="-run=TestAccAWSEcrRepository"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -parallel 20 -run=TestAccAWSEcrRepository -timeout 120m
?       github.com/terraform-providers/terraform-provider-aws   [no test files]
=== RUN   TestAccAWSEcrRepositoryPolicy_basic
=== PAUSE TestAccAWSEcrRepositoryPolicy_basic
=== RUN   TestAccAWSEcrRepositoryPolicy_iam
=== PAUSE TestAccAWSEcrRepositoryPolicy_iam
=== RUN   TestAccAWSEcrRepository_basic
=== PAUSE TestAccAWSEcrRepository_basic
=== RUN   TestAccAWSEcrRepository_tags
=== PAUSE TestAccAWSEcrRepository_tags
=== CONT  TestAccAWSEcrRepositoryPolicy_basic
=== CONT  TestAccAWSEcrRepository_tags
=== CONT  TestAccAWSEcrRepositoryPolicy_iam
=== CONT  TestAccAWSEcrRepository_basic
--- PASS: TestAccAWSEcrRepository_basic (27.12s)
--- PASS: TestAccAWSEcrRepositoryPolicy_basic (30.13s)
--- PASS: TestAccAWSEcrRepository_tags (40.61s)
--- PASS: TestAccAWSEcrRepositoryPolicy_iam (41.20s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       43.083s

make testacc TESTARGS="-run=TestAccAWSEcrRepositoryPolicy"    
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./... -v -parallel 20 -run=TestAccAWSEcrRepositoryPolicy -timeout 120m
?       github.com/terraform-providers/terraform-provider-aws   [no test files]
=== RUN   TestAccAWSEcrRepositoryPolicy_basic
=== PAUSE TestAccAWSEcrRepositoryPolicy_basic
=== RUN   TestAccAWSEcrRepositoryPolicy_iam
=== PAUSE TestAccAWSEcrRepositoryPolicy_iam
=== CONT  TestAccAWSEcrRepositoryPolicy_basic
=== CONT  TestAccAWSEcrRepositoryPolicy_iam
--- PASS: TestAccAWSEcrRepositoryPolicy_basic (33.12s)
--- PASS: TestAccAWSEcrRepositoryPolicy_iam (38.91s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       39.698s

@ryndaniels ryndaniels requested a review from a team June 21, 2019 10:22
@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/ecr Issues and PRs that pertain to the ecr service. labels Jun 21, 2019
@ryndaniels ryndaniels added the bug Addresses a defect in current functionality. label Jun 21, 2019
@bflad bflad added this to the v2.17.0 milestone Jun 21, 2019
@bflad bflad self-requested a review June 21, 2019 17:59
Copy link
Contributor

@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 🚀

--- PASS: TestAccAWSEcrRepository_basic (7.85s)
--- PASS: TestAccAWSEcrRepositoryPolicy_basic (8.23s)
--- PASS: TestAccAWSEcrRepository_tags (12.15s)
--- PASS: TestAccAWSEcrRepositoryPolicy_iam (25.45s)

@bflad bflad merged commit 7613de0 into master Jun 27, 2019
@bflad bflad deleted the rfd-retry-ecr branch June 27, 2019 21:33
bflad added a commit that referenced this pull request Jun 27, 2019
@bflad
Copy link
Contributor

bflad commented Jun 28, 2019

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

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Nov 3, 2019

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 Nov 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/ecr Issues and PRs that pertain to the ecr service. size/S Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants