-
Notifications
You must be signed in to change notification settings - Fork 66
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
Give control over resources names #18
Comments
Hi @sdib - thanks for submitting the issue. This makes a lot of sense. Are you willing to submit a PR for that one? |
Hi @jcorioland, yes I think I can propose something.
Any thoughts from your side ? |
Hi @sdib - I need to think about it, but for sure it must be optional. Can you try to make a design proposal here so we can discuss about how the TF configuration could looks like with this change? Thank you! |
Hello @jcorioland, here are 2 proposals : 1 =>
caveat I see with this one, is that if you want to control only 1 resource name, you need to provide a pattern for each (until terraform 0.15 comes with optional attributes). Maybe we want to wait this optional attributes feature from terraform to be available before implementing this ? 2 =>
this one offers more fine grained control, but a lot of inputs and <linux/windows>_container_group_pattern may be confusing with the |
Hi @sdib, thanks for the two options proposed. I have a preference for the first one also, that is lighter approach as you can define only the properties that are relevant for you on the complex object, if I am not mistaken. This looks good way to proceed to me! |
Hey @sdib, have you been able to make some progress on this item? |
I ran into this issue at my org where we have a naming policy for resources. Is there an ETA for this update? |
Hi @aafre - unfortunately we have no ETA for this item, sorry. |
Consumers of the module may want to control the name of the created resources, for example if they have a naming convention to follow.
The text was updated successfully, but these errors were encountered: