Closed onitake closed 1 year ago
As written in #883 , I couldn't reproduce the issue with the simple-vpc example and a custom test case with the current version of the AWS provider. However, I'm still experiencing the dependency problem in a production environment. Further testing is needed.
This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
This PR was automatically closed because of stale in 10 days
I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
This PR separates creation of the internet gateway (IGW) from attachment to the VPC.
By doing this, an implicit dependency is avoided, allowing
terraform destroy
on a VPC+IGW created by this module.Motivation and Context
Fixes: #883
Breaking Changes
The new resource
aws_internet_gateway_attachment
requires version 4.3.0 of the Terraform provider for AWS.How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request