-
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
Add resource aws_ecr_account_setting #40219
Add resource aws_ecr_account_setting #40219
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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 🚀.
% make testacc TESTARGS='-run=TestAccECRAccountSetting_serial' PKG=ecr
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/ecr/... -v -count 1 -parallel 20 -run=TestAccECRAccountSetting_serial -timeout 360m
2024/12/06 12:04:51 Initializing Terraform AWS Provider...
=== RUN TestAccECRAccountSetting_serial
=== PAUSE TestAccECRAccountSetting_serial
=== CONT TestAccECRAccountSetting_serial
=== RUN TestAccECRAccountSetting_serial/basic
--- PASS: TestAccECRAccountSetting_serial (19.79s)
--- PASS: TestAccECRAccountSetting_serial/basic (19.79s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ecr 25.049s
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 🚀
@lvthillo Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.81.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. |
Description
To be honest, I have my doubts about this PR.
There’s no way to delete the configuration. There’s only
PutAccountSetting
andGetAccountSetting
. It’s also possible to assign a name, but if I understand correctly, it can only have the valueBASIC_SCAN_TYPE_VERSION
. That’s why the test is a bit vague. I’ll set the PR to draft mode to potentially get input from others.Relations
Closes #40140
References
Output from Acceptance Testing
Examples using local provider:
Apply:
Check w CLI
Switch to `CLAIR``
CLI output
Destroy
Check CLI. Setting remains on last value