Comments (9)
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.
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.
Absolutely, that's a Terraform limitation using count
with resources, and will go away once we switch to foreach
.
from terraform-google-cloud-storage.
Any ongoing effort with the change? If not, I might be able to contribute to this.
from terraform-google-cloud-storage.
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.
FYI I'm not sure this is directly related to foreach
vs. count
. It might fix it though.
from terraform-google-cloud-storage.
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.
It shouldn't require manual deletion. There's a simple fix anyways.
from terraform-google-cloud-storage.
@Jberlinsky The fix is trivial, take a look at #23.
from terraform-google-cloud-storage.
Related Issues (20)
- Dependency Dashboard
- Allow definining simple_bucket's iam_members for_each key statically HOT 14
- Module fails when names list is empty HOT 1
- make docker_test_integration failing HOT 1
- CI failing
- Add support for public_access_prevention
- Provisioning fails when creating buckets with labels: "Provider produced inconsistent final plan" HOT 4
- Allow configure the autoclass argument HOT 2
- Include a matches_prefix variable in this module HOT 2
- Specifying `bucket_admins` has no effect HOT 3
- Fix documentation for encryption_key_names variable HOT 1
- Doesn't work with apple silicone HOT 1
- Set versioning for all buckets in module HOT 1
- bucket_lifecycle_rules cannot be used without specifying lifecycle_rules
- The "logging" input parameter is not taken into account HOT 1
- On module "buckets", using action type "SetStorageClass" on the "lifecycle_rules" is not working HOT 10
- Dependency requirement conflict when using this module along GKE module HOT 2
- Allow CORS and website configurations only for one bucket HOT 8
- matches_prefix on gcs lifecycle management not working with terraform HOT 1
- Support for configuring soft-deletes in GCS buckets HOT 1
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-google-cloud-storage.