Skip to content
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

Increase name_prefix/name size for google_compute_instance_template #17899

Closed
Lord-Y opened this issue Apr 18, 2024 · 2 comments
Closed

Increase name_prefix/name size for google_compute_instance_template #17899

Lord-Y opened this issue Apr 18, 2024 · 2 comments
Labels

Comments

@Lord-Y
Copy link

Lord-Y commented Apr 18, 2024

Community Note

  • 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

@github-actions github-actions bot added forward/review In review; remove label to forward service/compute-instances labels Apr 18, 2024
@melinath
Copy link
Collaborator

Duplicate of #15374

@melinath melinath marked this as a duplicate of #15374 Apr 22, 2024
@melinath melinath closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants