-
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
Refresh phase fails if Shield Protection was manually removed #18046
Comments
As a workaround it's possible to try running On the other hand running with |
I think the issue is with returning an error here: without first examining it for "resource not found" situation, similar to what's done here: The |
A |
This has been released in version 3.39.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 for triage. Thanks! |
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. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
aws_shield_protection
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
N/A
Panic Output
N/A
Expected Behavior
Terraform should see that both the protected resource and the protection were removed from AWS and recreate them.
Actual Behavior
Terraform fails with:
Steps to Reproduce
terraform apply
terraform apply
The text was updated successfully, but these errors were encountered: