We are using the following module to maintain VPCs:
https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws/latest
Recently “something” has been changed in the code and now terraform apply
is going to delete and recreate it - this is the message:
# module.vpc.aws_vpc.this[0] will be destroyed
- resource "aws_vpc" "this" {
- arn = "arn:aws:ec2:eu-west-1:xxx:vpc/vpc-yyy" -> null
- assign_generated_ipv6_cidr_block = false -> null
- cidr_block = "192.168.0.0/16" -> null
- default_network_acl_id = "acl-..." -> null
- default_route_table_id = "rtb-..." -> null
- default_security_group_id = "sg-..." -> null
- dhcp_options_id = "dopt-..." -> null
- enable_classiclink = false -> null
- enable_classiclink_dns_support = false -> null
- enable_dns_hostnames = true -> null
- enable_dns_support = true -> null
- id = "vpc-..." -> null
- instance_tenancy = "default" -> null
- main_route_table_id = "rtb-..." -> null
- owner_id = "..." -> null
}
Is there any way I can investigate why it is going to be deleted ?