-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Resource: aws_default_internet_gateway #3999
Conversation
|
||
# aws_default_internet_gateway | ||
|
||
Provides a resource to manage a [default VPC Internet Gateway](https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html#default-vpc-components) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we should provide a more strict warning, akin to https://www.terraform.io/docs/providers/aws/r/default_route_table.html, about the fact that Terraform cannot destroy this resource?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jen20 I think that's already taken care of in the Removing aws_default_internet_gateway from your configuration section below.
Hi @ewbankkit! Thanks for the pull request, and sorry for the delay in getting it reviewed. The code looks good to me - I've left one minor comment on the documentation. If you could let me know your thoughts there we can get this merged. |
After thinking about this some more I think the most sustainable solution is to use |
@ewbankkit any reason why this wasn't merged? Terraform import into each state file is not really an option for us as this a manual step we'd like to avoid. |
@e-moshaya As I remember my reasoning was:
|
@ewbankkit sorry to bring this up again but we've now integrated amazon config and have a rule to check all resources for specific tags. Unfortunately, this is the only resource that is not tagged. importing the resource is really not an option seeing as it's a manual step which defeats the purpose of terraform. Please could you reconsider this pull request? |
@e-moshaya I'm happy for someone else to pick up the code. |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Fixes #2436.
The default Internet Gateway in an AWS region is the sole attached Internet Gateway in that region's default VPC.
Acceptance tests: