You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the logic for the names of the resources is the following:
tag.Name
id
Random alphanumeric value of length 5
For each of those we test if it's a valid name for a resource and if not we fallback to the next one. A good idea would be that if the tag.Name has a value, try to remove/alter it to fit into the Terraform validation of a resource name, so it would be much more readable.
Proposal
Have a way to remove the invalid characters of a potential resource name to make it more readable for the end user
Implementation
I would say that having a regexp that matches all those invalid charaters and try to remove them directly.
Open issues (if applicable)
The text was updated successfully, but these errors were encountered:
Abstract
Right now the logic for the names of the resources is the following:
tag.Name
id
For each of those we test if it's a valid name for a resource and if not we fallback to the next one. A good idea would be that if the
tag.Name
has a value, try to remove/alter it to fit into the Terraform validation of a resource name, so it would be much more readable.Proposal
Have a way to remove the invalid characters of a potential resource name to make it more readable for the end user
Implementation
I would say that having a regexp that matches all those invalid charaters and try to remove them directly.
Open issues (if applicable)
The text was updated successfully, but these errors were encountered: