Code Monkey home page Code Monkey logo

Comments (6)

cmeisinger avatar cmeisinger commented on May 19, 2024

Are there any ideas on how to work around this?

from terraform-aws-vpc.

antonbabenko avatar antonbabenko commented on May 19, 2024

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.

cmeisinger avatar cmeisinger commented on May 19, 2024

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.

cmeisinger avatar cmeisinger commented on May 19, 2024

Plz mark as resolved/closed. :)

from terraform-aws-vpc.

antonbabenko avatar antonbabenko commented on May 19, 2024

Totally agree, so I will update README with details to upgrade.

from terraform-aws-vpc.

github-actions avatar github-actions commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.