-
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
r/aws_imagebuilder_component - add skip_destroy argument #28905
r/aws_imagebuilder_component - add skip_destroy argument #28905
Conversation
Community NoteVoting for Prioritization
For Submitters
|
The failed CI check is not related to this PR. |
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=TestAccImageBuilderComponent_' PKG=imagebuilder ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/imagebuilder/... -v -count 1 -parallel 3 -run=TestAccImageBuilderComponent_ -timeout 180m
=== RUN TestAccImageBuilderComponent_basic
=== PAUSE TestAccImageBuilderComponent_basic
=== RUN TestAccImageBuilderComponent_disappears
=== PAUSE TestAccImageBuilderComponent_disappears
=== RUN TestAccImageBuilderComponent_changeDescription
=== PAUSE TestAccImageBuilderComponent_changeDescription
=== RUN TestAccImageBuilderComponent_description
=== PAUSE TestAccImageBuilderComponent_description
=== RUN TestAccImageBuilderComponent_kmsKeyID
=== PAUSE TestAccImageBuilderComponent_kmsKeyID
=== RUN TestAccImageBuilderComponent_Platform_windows
=== PAUSE TestAccImageBuilderComponent_Platform_windows
=== RUN TestAccImageBuilderComponent_supportedOsVersions
=== PAUSE TestAccImageBuilderComponent_supportedOsVersions
=== RUN TestAccImageBuilderComponent_tags
=== PAUSE TestAccImageBuilderComponent_tags
=== RUN TestAccImageBuilderComponent_uri
=== PAUSE TestAccImageBuilderComponent_uri
=== CONT TestAccImageBuilderComponent_basic
=== CONT TestAccImageBuilderComponent_Platform_windows
=== CONT TestAccImageBuilderComponent_description
--- PASS: TestAccImageBuilderComponent_description (22.22s)
=== CONT TestAccImageBuilderComponent_changeDescription
--- PASS: TestAccImageBuilderComponent_basic (22.45s)
=== CONT TestAccImageBuilderComponent_tags
--- PASS: TestAccImageBuilderComponent_Platform_windows (22.73s)
=== CONT TestAccImageBuilderComponent_uri
--- PASS: TestAccImageBuilderComponent_changeDescription (21.63s)
=== CONT TestAccImageBuilderComponent_kmsKeyID
--- PASS: TestAccImageBuilderComponent_uri (27.35s)
=== CONT TestAccImageBuilderComponent_disappears
--- PASS: TestAccImageBuilderComponent_disappears (16.93s)
=== CONT TestAccImageBuilderComponent_supportedOsVersions
--- PASS: TestAccImageBuilderComponent_kmsKeyID (24.40s)
--- PASS: TestAccImageBuilderComponent_tags (48.74s)
--- PASS: TestAccImageBuilderComponent_supportedOsVersions (20.87s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/imagebuilder 93.448s
@kamilturek Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.51.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
This PR adds the
skip_destroy
argument to theaws_imagebuilder_component
. This allows creating the new component versions without removing the current one and affecting all resources relying on it.Followed the approach of
aws_ecs_task_definition
andaws_lambda_layer_version
facing similar problems.Relations
Closes #26117.
Output from Acceptance Testing