Comments (6)
Are there any ideas on how to work around this?
from terraform-aws-vpc.
Yes, there is a lot of changes, not just in naming. This is a major release.
There is no automatic workaround about this other than update tfstate
file using terraform state mv commands.
Let me know if you need help doing this.
from terraform-aws-vpc.
So I worked through it and have updated the remote states. All is well.
While my fixup example is specific to my use-case, I'm going to include the commands I ran (as of TF 0.10.6) for anyone else that runs into the same problems.
Also it's in my opinion you should REALLY make a mention of this somewhere between the two repos. It's an absolute breakage in backwards compat for someone following the deprecation notice to this repository.
All in all though, thank you for putting this together. I don't want to come off as crappy and negative, cause what you've done is pretty great. Thanks for your work. :)
terraform state mv module.vpc.aws_internet_gateway.mod module.vpc.aws_internet_gateway.this
terraform state mv module.vpc.aws_nat_gateway.natgw[0] module.vpc.aws_nat_gateway.this[0]
terraform state mv module.vpc.aws_nat_gateway.natgw[1] module.vpc.aws_nat_gateway.this[1]
terraform state mv module.vpc.aws_eip.nateip[0] module.vpc.aws_eip.nat[0]
terraform state mv module.vpc.aws_eip.nateip[1] module.vpc.aws_eip.nat[1]
from terraform-aws-vpc.
Plz mark as resolved/closed. :)
from terraform-aws-vpc.
Totally agree, so I will update README with details to upgrade.
from terraform-aws-vpc.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
from terraform-aws-vpc.
Related Issues (20)
- support for multipe public route tables HOT 6
- when creating VPC configuration HOT 1
- Add tag option for egress only internet gateways and option to disable default route table HOT 3
- private_dns_only_for_inbound_resolver_endpoint value for s3 vpc endpoints is ignored. HOT 2
- NAT routing tables and associations are still created even when using `enable_nat_gateway = false` HOT 4
- [Output] NAT Gateway Private IPs HOT 3
- Subnets-only deployment to existing VPC HOT 5
- ACL Rules : missing IPv6 rules HOT 4
- Private NAT Gateway provisioning is not supported HOT 4
- Unable to add a NAT Gateway to the VPC that has only public and database subnets HOT 3
- Support for custom routes HOT 5
- Assign a primary private IP to NAT Gateway during creation HOT 3
- Support for lifecycle ignore_changes to tags HOT 5
- Allow creating vpc flow logs resources without creating vpc HOT 3
- Support mixed IPAM / manual allocation in VPC CIDRs HOT 3
- Unable to migrate from IPv4 to IPv6 (VPC with subnets) HOT 3
- Add support for aws_cloudwatch_log_group log_group_class HOT 1
- VPC endpoints are being replaced sporadically due to `service_name` being unknown at plan time HOT 5
- Allow allowed_principals for module vpc-endpoints HOT 3
- IPv6 Route in Route Table (rtb-xxx) with destination (::/0) already exists HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-vpc.