-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: Use data source for convention and function for generating name #54
base: main
Are you sure you want to change the base?
Conversation
max_length = 4 | ||
}, | ||
] | ||
} | ||
|
||
resource "random_string" "random" { | ||
length = 16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
der random
wert in der convention setzt max_length
auf 4
der random_string
generiert eine string mit length
16
Schneidet dann designation den Rest ab?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ja
make | ||
``` | ||
|
||
To use the local build version you need tell terraform where to look for it via a terraform config override. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[...] you need to tell [...]
|
||
To use the local build version you need tell terraform where to look for it via a terraform config override. | ||
|
||
Create `dev.tfrc` in your terraform code folder (f.e. in [dev.tfrc](./examples/development/dev.tfrc)): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"f.e." -> "e.g."
page_title: "generate_name function - terraform-provider-designation" | ||
subcategory: "" | ||
description: |- | ||
Generate a name for a convention and with specified parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Generate a name for a convention with specified parameters"
override_special = "/@£$" | ||
} | ||
|
||
output "name1" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warum heißt das "name1"? Wäre hier ein sprechenderer Bezeichner möglich / sinnvoll?
} | ||
|
||
output "name_app" { | ||
value = designation_name.app.result | ||
output "name1" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kann "name1" sprechender benannt werden?
No description provided.