-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Added image scanning configuration to aws_ecr_repository resource #10671
Conversation
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.
Hi @sergei-ivanov 👋 Thank you very much for submitting this. A few minor things and this should be good to go. Please reach out if you have any questions or do not have time to implement the feedback.
@bflad I have implemented the requested changes, and improved the test further (in my test environment I also tested it for compatibility with resources created by an earlier version of aws provider). Here's the result of a test run with the latest code:
|
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.
This looks great, thanks for the quick implementation and updates, @sergei-ivanov 🚀
Output from acceptance testing in AWS Commercial:
--- PASS: TestAccAWSEcrRepositoryPolicy_basic (8.78s)
--- PASS: TestAccAWSEcrRepository_basic (9.01s)
--- PASS: TestAccAWSEcrRepository_immutability (9.54s)
--- PASS: TestAccAWSEcrRepository_tags (13.60s)
--- PASS: TestAccAWSEcrRepository_image_scanning_configuration (20.62s)
--- PASS: TestAccAWSEcrRepositoryPolicy_iam (26.18s)
Output from acceptance testing in AWS GovCloud (US):
--- PASS: TestAccAWSEcrRepository_immutability (5.62s)
--- PASS: TestAccAWSEcrRepository_basic (5.92s)
--- PASS: TestAccAWSEcrRepositoryPolicy_basic (5.97s)
--- PASS: TestAccAWSEcrRepository_tags (6.91s)
--- PASS: TestAccAWSEcrRepository_image_scanning_configuration (8.65s)
--- PASS: TestAccAWSEcrRepositoryPolicy_iam (11.49s)
This has been released in version 2.34.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
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! |
Community Note
Closes #10656
Release note for CHANGELOG:
Output from acceptance testing: