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/lifecycle_policy: Fix diffs when policy equivalent #22142

Merged
merged 4 commits into from
Dec 10, 2021

Conversation

YakDriver
Copy link
Member

@YakDriver YakDriver commented Dec 9, 2021

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" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates #21968
Relates #22004

Output from acceptance testing (us-west-2):

% make testacc TESTS=TestAccECRLifecyclePolicy_ PKG=ecr
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ecr/... -v -count 1 -parallel 20 -run='TestAccECRLifecyclePolicy_' -timeout 180m
--- PASS: TestAccECRLifecyclePolicy_basic (16.38s)
--- PASS: TestAccECRLifecyclePolicy_ignoreEquivalent (21.47s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ecr	22.770s

Output from acceptance testing (GovCloud):

% make testacc TESTS=TestAccECRLifecyclePolicy_ PKG=ecr
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ecr/... -v -count 1 -parallel 20 -run='TestAccECRLifecyclePolicy_' -timeout 180m
--- PASS: TestAccECRLifecyclePolicy_basic (21.90s)
--- PASS: TestAccECRLifecyclePolicy_ignoreEquivalent (28.49s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ecr	30.143s

@github-actions github-actions bot added size/L Managed by automation to categorize the size of a PR. service/ecr Issues and PRs that pertain to the ecr service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Dec 9, 2021
@YakDriver YakDriver added this to the Roadmap milestone Dec 9, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

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

LGTM 🚀.

% make testacc TESTS=TestAccECRLifecyclePolicy_ PKG=ecr
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ecr/... -v -count 1 -parallel 20 -run='TestAccECRLifecyclePolicy_' -timeout 180m
=== RUN   TestAccECRLifecyclePolicy_basic
=== PAUSE TestAccECRLifecyclePolicy_basic
=== RUN   TestAccECRLifecyclePolicy_ignoreEquivalent
=== PAUSE TestAccECRLifecyclePolicy_ignoreEquivalent
=== CONT  TestAccECRLifecyclePolicy_basic
=== CONT  TestAccECRLifecyclePolicy_ignoreEquivalent
--- PASS: TestAccECRLifecyclePolicy_basic (21.76s)
--- PASS: TestAccECRLifecyclePolicy_ignoreEquivalent (27.65s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/ecr	33.620s

@YakDriver YakDriver merged commit 2377952 into main Dec 10, 2021
@YakDriver YakDriver deleted the b-ecr-lifecycle-policy-diffs branch December 10, 2021 16:18
@github-actions github-actions bot modified the milestones: Roadmap, v3.70.0 Dec 10, 2021
github-actions bot pushed a commit that referenced this pull request Dec 10, 2021
@github-actions
Copy link

This functionality has been released in v3.70.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. Thank you!

@github-actions
Copy link

github-actions bot commented Jun 1, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/ecr Issues and PRs that pertain to the ecr service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants