Code Monkey home page Code Monkey logo

Comments (9)

ludoo avatar ludoo commented on June 30, 2024

Yup, it's a know issue, workaround is to temporarily comment out the outputs until the new resource is in. Will probably be fixed in a future release, once we switch to using foreach instead of count.

from terraform-google-cloud-storage.

Jeanno avatar Jeanno commented on June 30, 2024

So the list ordering issue is also known? The one that if you remove one of the names, the subsequence buckets will be replaced.

from terraform-google-cloud-storage.

ludoo avatar ludoo commented on June 30, 2024

Absolutely, that's a Terraform limitation using count with resources, and will go away once we switch to foreach.

from terraform-google-cloud-storage.

Jeanno avatar Jeanno commented on June 30, 2024

Any ongoing effort with the change? If not, I might be able to contribute to this.

from terraform-google-cloud-storage.

ludoo avatar ludoo commented on June 30, 2024

We did not start yet, as the plan was to do complete 0.12 migration for all the mutiple-resource modules, then switch them all to foreach. Migration is done, we just need to find the time to tackle this. If you feel like starting, by all means that is more than welcome. :)

from terraform-google-cloud-storage.

morgante avatar morgante commented on June 30, 2024

FYI I'm not sure this is directly related to foreach vs. count. It might fix it though.

from terraform-google-cloud-storage.

Jberlinsky avatar Jberlinsky commented on June 30, 2024

Just to provide some additional context, this bug has the potential to be quite severe, requiring modifications to Terraform state and manual deletion of buckets it creates to enable Terraform Plans to run in a previously functional configuration.

from terraform-google-cloud-storage.

morgante avatar morgante commented on June 30, 2024

It shouldn't require manual deletion. There's a simple fix anyways.

from terraform-google-cloud-storage.

morgante avatar morgante commented on June 30, 2024

@Jberlinsky The fix is trivial, take a look at #23.

from terraform-google-cloud-storage.

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.