--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/8590339d-710a-4447-9e1e-b78723cd43a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello Lowe,
This was what I was thinking initially (as a work around) but it seems that it's not working since it just output a lot of errors afterwards:$ terraform plan -destroyError configuring: 16 error(s) occurred:* aws_security_group.ssh_sg: missing dependency: aws_vpc.main* aws_security_group.nat_sg: missing dependency: aws_vpc.main* aws_security_group.pub_elb_sg: missing dependency: aws_vpc.main* aws_security_group.priv_elb_sg: missing dependency: aws_vpc.main* aws_security_group.pub_sg: missing dependency: aws_vpc.main* aws_security_group.priv_sg: missing dependency: aws_vpc.main* aws_security_group.rds_sg: missing dependency: aws_vpc.main* aws_subnet.a_public: missing dependency: aws_vpc.main* aws_subnet.a_private: missing dependency: aws_vpc.main* aws_subnet.b_public: missing dependency: aws_vpc.main* aws_subnet.b_private: missing dependency: aws_vpc.main* aws_route_table.public_rt: missing dependency: aws_vpc.main* aws_route_table.public_rt: missing dependency: aws_internet_gateway.igw* aws_route_table.public_rt: missing dependency: aws_vpn_gateway.vgw-visma* aws_route_table.private_rt: missing dependency: aws_vpc.main* aws_route_table.private_rt: missing dependency: aws_vpn_gateway.vgw-vismaBest regards,Ionut
You received this message because you are subscribed to a topic in the Google Groups "Terraform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/terraform-tool/xL-VJkT3OMw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAC-wWcTrsakGUU4zdSO6MZO5hH-xmai6JJRE%2BMienMLWYLmQ4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Ionut
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAANkY-%3DWyBpBxokZr_itMNUjMmF2kcSkc8nDRKPjyXq0gNLcKw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAN3s8zZB64F4ZEdyuWak_jBtxV%2B5Uo93a%3DTeRKsfWgsNMAewRA%40mail.gmail.com.
I'd like to destroy my current environment created using Terraform but keep some of the resources untouched (ex: I'd like to keep my current VPC setup: aws_vpc, aws_internet_gateway, aws_vpn_gateway, etc).From what I've read Terraform does not have an exclude option right now so I was wondering what workaround do you use to kill part of your resources?