Comments (2)
@FernandoMiguel thank you for evaluating the module.
Please update to Terraform 0.11.1
.
It's a known issue in Terraform 0.11.0
.
They made it a fatal error in 0.11.0
to reference a resource with count=0 even if that resource is not used.
hashicorp/terraform#16726
But then switched it to warning in 0.11.1
https://github.com/hashicorp/terraform/blob/v0.11.1/CHANGELOG.md
Since the new feature was already rolled out, and since development for 0.12 depends on the foundational changes that enabled it, we decided to compromise with an opt-out mechanism in 0.11.1, so those with configurations containing problematic output expressions have a means to use 0.11.1 without first fixing all modules. We understand that this is not the most ideal migration path -- if we could do this over again we would've introduced the warning in one of the 0.10 point releases -- but we hope that this compromise is acceptable so that we can continue to make progress towards 0.12.
To enable that behavior, you need to set the variable TF_WARN_OUTPUT_ERRORS=1
They mentioned they will make it an error again in 0.12
, so it's a temporarily fix anyway.
But if they fix ternaries (to short-circuit and not evaluate left and right part at the same time), we can work around the issue very easily
hashicorp/hil#50
Please update to 0.11.1
and set TF_WARN_OUTPUT_ERRORS=1
.
We'll close the issue for now, please let us know if that's addresses your question and if you have other questions or concerns.
from terraform-aws-ecr.
i'll give it a try again.
thanks
from terraform-aws-ecr.
Related Issues (20)
- Error: Invalid for_each argument HOT 1
- Malformed policy document when principal and multiple images supplied HOT 2
- Make it TF 0.13 compatible
- 0.15 -> 0.16 transition wants to destroy and recreate all repos HOT 1
- Module requires aws provider version 3.1.0
- Backslash being removed from name variable when used with use_fullname HOT 1
- Issues on importing ECR repositories HOT 1
- multi-repo namespacing does not appear to work HOT 2
- Allow the whole AWS Org for readonly
- Allow other principals HOT 2
- Specifying Encryption type "KMS" with a custom KMS key specifies a destroy/create for each new plan HOT 2
- Dependency Dashboard
- ya'll ready?! public ECR! 🔥
- Requesting to add `scan_type ` to `aws_ecr_registry_scanning_configuration`
- 4.0.0 deprecated warning
- Enable lifefycle policy based on "Since imaged pushed"
- Principal ARNs input for ECR Power User
- Reduce permission to functions only
- image_names variable not working as expected HOT 1
- multi region ECR with replication support
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-ecr.