Terraform Version
Terraform v1.3.5
on darwin_amd64
Your version of Terraform is out of date! The latest version
is 1.3.7. You can update by downloading from https://www.terraform.io/downloads.html
Use Cases
There is a module that have being flagged for no deletion; however, it is listed inside the main.tf.
This means that when running terraform destroy those module wont be destroyed.
When trying to use terraform apply, we get messages such as:
Error: invalid response from API server (409): The resource '...' already exists
Attempted Solutions
One way is to use the target flag, with apply, and try to apply each module and resource that isn't the one giving the 409.
Proposal
The proposal is to introduce a new flag -skip. So, we can tell apply which modules and resources, in main.tf, we wish to skip.
References
No response
Terraform Version
Terraform v1.3.5 on darwin_amd64 Your version of Terraform is out of date! The latest version is 1.3.7. You can update by downloading from https://www.terraform.io/downloads.htmlUse Cases
There is a module that have being flagged for no deletion; however, it is listed inside the
main.tf.This means that when running
terraform destroythose module wont be destroyed.When trying to use
terraform apply, we get messages such as:Attempted Solutions
One way is to use the target flag, with apply, and try to apply each module and resource that isn't the one giving the 409.
Proposal
The proposal is to introduce a new flag
-skip. So, we can tellapplywhich modules and resources, inmain.tf, we wish to skip.References
No response