Comments (2)
@tibbing yes, this has come up quite a bit. We would accept a PR for this functionality. I like your proposal of offering a few different kinds of outputs. I'd maybe call id_capped
instead id_truncated
or id_short
. Let's call id_hash
just id_md5
since there are multiple ways to hash.
from terraform-null-label.
@osterman Good points! Please see the referenced PR. I was considering whether to use the given delimiter, or force a dash before the hash, or even skip it altogether. We just need to make sure there won't be duplicate delimiters if the ID happens to be truncated just after a delimiter somehow. Do you have any preference?
from terraform-null-label.
Related Issues (20)
- Dependabot can't parse your main.tf
- Support TF 0.14
- Empty ID HOT 1
- Dependabot can't parse your main.tf
- Change order of attribute concatination HOT 3
- Unsupported Core Version 0.14.2 HOT 3
- Create multiple pre-truncated id outputs automatically HOT 3
- Proposal: `prefix` output HOT 3
- A reference to "each.value" has been used in a context in which it unavailable HOT 1
- Feature request: support renaming/dropping default tags HOT 5
- Enforce required fields
- terraform validaton fails HOT 1
- Create use-case driven examples in the README HOT 3
- Valid resource characters are being replaced by null label module.
- Meaning of Namespace HOT 2
- Make var.label_order "global" HOT 3
- Additional tag map isn't actually merged in with the tags HOT 4
- Any plans to bump the supported terraform version to v0.12.19 HOT 1
- Make it TF 0.13 compatible
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-null-label.