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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Description
Hello guys,
When using google_compute_instance_template, we need to defined the name_prefix who will end up having a name with 63 characters lengh. The thing is for our use cases (and I believe many customer too) need to have more characters.
Here is my error:
Error: "name_prefix" cannot be longer than 37 characters, name is limited to 63
Our current name_prefix 43 characters long so it's exploding the final name who will be suffixed by a date/id 20240418123904392300000001 like xxx-xxxxx-xxxx-xxxx-xxxxx-xxxx-xxxx-xxx-20240418123904392300000001.
According to RFC 1035 the length of a FQDN is limited to 255 characters, and each label (node delimited by a dot in the hostname) is limited to 63 characters.
So our server hostname length will be inferior to 63 characters as it's based on the name_prefix.
Is it something feasible?
Thanks.
New or Affected Resource(s)
google_compute_instance_template
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Description
Hello guys,
When using
google_compute_instance_template
, we need to defined thename_prefix
who will end up having aname
with 63 characters lengh. The thing is for our use cases (and I believe many customer too) need to have more characters.Here is my error:
Error: "name_prefix" cannot be longer than 37 characters, name is limited to 63
Our current
name_prefix
43 characters long so it's exploding the finalname
who will be suffixed by a date/id20240418123904392300000001
likexxx-xxxxx-xxxx-xxxx-xxxxx-xxxx-xxxx-xxx-20240418123904392300000001
.According to RFC 1035 the length of a FQDN is limited to 255 characters, and each label (node delimited by a dot in the hostname) is limited to 63 characters.
So our server hostname length will be inferior to 63 characters as it's based on the
name_prefix
.Is it something feasible?
Thanks.
New or Affected Resource(s)
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: