Closed mmoreno43 closed 9 months ago
check your error message, its saying that you are not skipping the final snapshot which is why it wants an ID
Hello, I thought I was skipping the final snapshot by providing skip_final_snapshot = true in my code?
@bryantbiggs we are running into the same issue. We don't want a final snapshot.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Hello,
We are running the Aurora RDS module to create a database for us. When we tried to destroy the Terraform code we ran into an issue where skip_final_snapshot is set to false by default. We modified our code so that skip_final_snapshot is true. When running Terraform again we are still getting the same error.
We ran the following commands:
terraform init
terraform plan
terraform apply
[x ] ✋ I have searched the open/closed issues and my issue is not listed.
⚠️ Note
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Reproduction Code [Required]
Steps to reproduce the behavior:
Are you using workspaces?
Have you cleared the local cache (see Notice section above)?
List steps in order that led up to the issue you encountered
Expected behavior
The expected behavior is that Terraform will destroy the cluster if skip_final_snapshot = true.
Actual behavior
The actual behavior is that Terraform will does not destroy the cluster if skip_final_snapshot = true.
Terminal Output Screenshot(s)