-
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
r/aws_lambda_function: Always set skip_destroy
in resource Read
#29812
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Co-authored-by: Justin Retzolk <44710313+justinretzolk@users.noreply.github.com>
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 PKG=lambda TESTS="TestAccLambdaFunction_skipDestroy|TestAccLambdaFunction_skipDestroyInconsistentPlan|TestAccLambdaFunction_basic"
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lambda/... -v -count 1 -parallel 20 -run='TestAccLambdaFunction_skipDestroy|TestAccLambdaFunction_skipDestroyInconsistentPlan|TestAccLambdaFunction_basic' -timeout 180m
=== RUN TestAccLambdaFunction_basic
=== PAUSE TestAccLambdaFunction_basic
=== RUN TestAccLambdaFunction_skipDestroy
=== PAUSE TestAccLambdaFunction_skipDestroy
=== RUN TestAccLambdaFunction_skipDestroyInconsistentPlan
=== PAUSE TestAccLambdaFunction_skipDestroyInconsistentPlan
=== CONT TestAccLambdaFunction_basic
=== CONT TestAccLambdaFunction_skipDestroyInconsistentPlan
=== CONT TestAccLambdaFunction_skipDestroy
--- PASS: TestAccLambdaFunction_skipDestroy (38.74s)
--- PASS: TestAccLambdaFunction_basic (46.96s)
--- PASS: TestAccLambdaFunction_skipDestroyInconsistentPlan (60.61s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 63.674s
This functionality has been released in v4.57.1 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
Ensures that the non-refreshable
skip_destroy
attribute is set in resource Read.Relations
Closes #29777.
Relates #29646.
Output from Acceptance Testing