-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_public_ip domain_name_label incorrectly limited to 61 chars #2085
Comments
Hi @peterb154, Thanks for bringing this to our attention. I have opened #2122 that allows for 63 characters (as well as doing proper validation) as the API prevents us from going up to 64:
|
hi @peterb154 Just to let you know that this has been released as a part of v1.18 of the AzureRM Provider (the full changelog is available here). You can upgrade to this by specifying the version in the provider block (as shown below) and then running
Thanks! |
That's great! Thanks for the update.
Brian Peterson
CEO, Cloud Shift Strategies
623-698-8009
www.cloudshiftstrategies.com
<http://www.cloudshiftstrategies.com>
…On Fri, Nov 2, 2018 at 9:45 AM Tom Harvey ***@***.***> wrote:
hi @peterb154 <https://github.com/peterb154>
Just to let you know that this has been released as a part of v1.18 of the
AzureRM Provider. You can upgrade to this by specifying the version in the
provider block (as shown below) and then running terraform init -upgrade
provider "azurerm" {
version = "=1.18.0"
}
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2085 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA8bIIDdSsPByB3j5qy5WWiRJ1CzRBUhks5urFp-gaJpZM4XcwOo>
.
|
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
azurerm_public_ip domain_name_label incorrectly limited to 61 chars
Azure provider limits domain name labels to <= 61 chars
The RFC1035 says domain name labels must be <= 63 chars
Azure is allowing domain name labels of at least 64 chars
Community Note
Terraform Version
Affected Resource(s)
azurerm_public_ip
Terraform Configuration Files
note, replaced company name with x's above to protect privacy
Debug Output
N/A
Panic Output
N/A
Expected Behavior
terraform plan should be successful
Actual Behavior
Steps to Reproduce
Create a public IP resource with domain_name_label that is 62-63 chars long and run
terraform plan
Important Factoids
References
RFC1035 section 2.3.1 says "Labels must be 63 characters or less."
resource_arm_public_ip.go line 289 limits label name to 61 chars
Azure is allowing domain_name_labels with 64 chars:
The text was updated successfully, but these errors were encountered: