-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
New Resource: aws_ecrpublic_repository_policy #16901
Conversation
19c54b1
to
9029bcf
Compare
Hi - any ideas when it's gonna be released? |
The PreCheck: func() { testAccPreCheck(t); testAccPreCheckAwsEcrPublic(t) }, with PreCheck: func() { testAccPreCheck(t); testAccPreCheckAwsEcrPublic(t) },
ErrorCheck: testAccErrorCheck(t, ecrpublic.EndpointsID), |
Need to add a |
…providers/terraform-provider-aws into f-ecrpublic-repository-policy
Thank you for trying to complete this PR 👍 |
Pull request #21306 has significantly refactored the AWS Provider codebase. As a result, most PRs opened prior to the refactor now have merge conflicts that must be resolved before proceeding. Specifically, PR #21306 relocated the code for all AWS resources and data sources from a single We recognize that many pull requests have been open for some time without yet being addressed by our maintainers. Therefore, we want to make it clear that resolving these conflicts in no way affects the prioritization of a particular pull request. Once a pull request has been prioritized for review, the necessary changes will be made by a maintainer -- either directly or in collaboration with the pull request author. For a more complete description of this refactor, including examples of how old filepaths and function names correspond to their new counterparts: please refer to issue #20000. For a quick guide on how to amend your pull request to resolve the merge conflicts resulting from this refactor and bring it in line with our new code patterns: please refer to our Service Package Refactor Pull Request Guide. |
Hi all 👋 Just letting you know that this is issue is featured on this quarters roadmap. If a PR exists to close the issue a maintainer will review and either make changes directly, or work with the original author to get the contribution merged. If you have written a PR to resolve the issue please ensure the "Allow edits from maintainers" box is checked. Thanks for your patience and we are looking forward to getting this merged soon! |
…icyCreate' and 'resourceRepositoryPolicyUpdate' into 'resourceRepositoryPolicyPut'. Acceptance test output: % AWS_DEFAULT_REGION=us-east-1 make testacc TESTS=TestAccAWSEcrPublicRepositoryPolicy_ PKG=ecrpublic ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ecrpublic/... -v -count 1 -parallel 20 -run='TestAccAWSEcrPublicRepositoryPolicy_' -timeout 180m === RUN TestAccAWSEcrPublicRepositoryPolicy_basic === PAUSE TestAccAWSEcrPublicRepositoryPolicy_basic === RUN TestAccAWSEcrPublicRepositoryPolicy_policy === PAUSE TestAccAWSEcrPublicRepositoryPolicy_policy === RUN TestAccAWSEcrPublicRepositoryPolicy_iam === PAUSE TestAccAWSEcrPublicRepositoryPolicy_iam === CONT TestAccAWSEcrPublicRepositoryPolicy_basic === CONT TestAccAWSEcrPublicRepositoryPolicy_iam === CONT TestAccAWSEcrPublicRepositoryPolicy_policy --- PASS: TestAccAWSEcrPublicRepositoryPolicy_basic (17.46s) --- PASS: TestAccAWSEcrPublicRepositoryPolicy_policy (26.84s) --- PASS: TestAccAWSEcrPublicRepositoryPolicy_iam (38.87s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ecrpublic 43.908s
…icy_disappears' and 'TestAccECRPublicRepositoryPolicy_Disappears_repository', remove 'TestAccECRPublicRepositoryPolicy_policy'. Acceptance test output: % AWS_DEFAULT_REGION=us-east-1 make testacc TESTS=TestAccECRPublicRepositoryPolicy_ PKG=ecrpublic ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ecrpublic/... -v -count 1 -parallel 20 -run='TestAccECRPublicRepositoryPolicy_' -timeout 180m === RUN TestAccECRPublicRepositoryPolicy_basic === PAUSE TestAccECRPublicRepositoryPolicy_basic === RUN TestAccECRPublicRepositoryPolicy_disappears === PAUSE TestAccECRPublicRepositoryPolicy_disappears === RUN TestAccECRPublicRepositoryPolicy_Disappears_repository === PAUSE TestAccECRPublicRepositoryPolicy_Disappears_repository === RUN TestAccECRPublicRepositoryPolicy_iam === PAUSE TestAccECRPublicRepositoryPolicy_iam === CONT TestAccECRPublicRepositoryPolicy_basic === CONT TestAccECRPublicRepositoryPolicy_disappears === CONT TestAccECRPublicRepositoryPolicy_Disappears_repository === CONT TestAccECRPublicRepositoryPolicy_iam --- PASS: TestAccECRPublicRepositoryPolicy_Disappears_repository (10.91s) --- PASS: TestAccECRPublicRepositoryPolicy_disappears (12.35s) --- PASS: TestAccECRPublicRepositoryPolicy_basic (20.68s) --- PASS: TestAccECRPublicRepositoryPolicy_iam (31.70s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ecrpublic 35.397s
Acceptance test output: % AWS_DEFAULT_REGION=us-east-1 make testacc TESTS=TestAccECRPublicRepositoryPolicy_ PKG=ecrpublic ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ecrpublic/... -v -count 1 -parallel 20 -run='TestAccECRPublicRepositoryPolicy_' -timeout 180m === RUN TestAccECRPublicRepositoryPolicy_basic === PAUSE TestAccECRPublicRepositoryPolicy_basic === RUN TestAccECRPublicRepositoryPolicy_disappears === PAUSE TestAccECRPublicRepositoryPolicy_disappears === RUN TestAccECRPublicRepositoryPolicy_Disappears_repository === PAUSE TestAccECRPublicRepositoryPolicy_Disappears_repository === RUN TestAccECRPublicRepositoryPolicy_iam === PAUSE TestAccECRPublicRepositoryPolicy_iam === CONT TestAccECRPublicRepositoryPolicy_basic === CONT TestAccECRPublicRepositoryPolicy_iam === CONT TestAccECRPublicRepositoryPolicy_disappears === CONT TestAccECRPublicRepositoryPolicy_Disappears_repository --- PASS: TestAccECRPublicRepositoryPolicy_Disappears_repository (14.92s) --- PASS: TestAccECRPublicRepositoryPolicy_disappears (16.57s) --- PASS: TestAccECRPublicRepositoryPolicy_basic (27.85s) --- PASS: TestAccECRPublicRepositoryPolicy_iam (40.11s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ecrpublic 46.285s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% AWS_DEFAULT_REGION=us-east-1 make testacc TESTS=TestAccECRPublicRepositoryPolicy_ PKG=ecrpublic
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ecrpublic/... -v -count 1 -parallel 20 -run='TestAccECRPublicRepositoryPolicy_' -timeout 180m
=== RUN TestAccECRPublicRepositoryPolicy_basic
=== PAUSE TestAccECRPublicRepositoryPolicy_basic
=== RUN TestAccECRPublicRepositoryPolicy_disappears
=== PAUSE TestAccECRPublicRepositoryPolicy_disappears
=== RUN TestAccECRPublicRepositoryPolicy_Disappears_repository
=== PAUSE TestAccECRPublicRepositoryPolicy_Disappears_repository
=== RUN TestAccECRPublicRepositoryPolicy_iam
=== PAUSE TestAccECRPublicRepositoryPolicy_iam
=== CONT TestAccECRPublicRepositoryPolicy_basic
=== CONT TestAccECRPublicRepositoryPolicy_iam
=== CONT TestAccECRPublicRepositoryPolicy_disappears
=== CONT TestAccECRPublicRepositoryPolicy_Disappears_repository
--- PASS: TestAccECRPublicRepositoryPolicy_Disappears_repository (14.92s)
--- PASS: TestAccECRPublicRepositoryPolicy_disappears (16.57s)
--- PASS: TestAccECRPublicRepositoryPolicy_basic (27.85s)
--- PASS: TestAccECRPublicRepositoryPolicy_iam (40.11s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ecrpublic 46.285s
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! |
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. |
Community Note
Closes #16540
Release note for CHANGELOG:
Output from acceptance testing: