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

azurerm_virtual_desktop_application_group name allowed length is 3-31, should be 1-260 #8980

Closed
timbehh opened this issue Oct 22, 2020 · 2 comments · Fixed by #9030
Closed

Comments

@timbehh
Copy link

timbehh commented Oct 22, 2020

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

Terraform (and AzureRM Provider) Version

Terraform v0.13.4
+ provider registry.terraform.io/hashicorp/azurerm v2.32.0

Affected Resource(s)

  • azurerm_virtual_desktop_application_group

Terraform Configuration Files

resource "azurerm_virtual_desktop_application_group" "desktopapp" {
  name                = "thisnameis39characterslongandshouldwork"
  location            = "eastus"
  resource_group_name = "team-wvdarm"

  type          = "RemoteApp"
  host_pool_id  = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx/resourceGroups/team-wvdarm/providers/Microsoft.DesktopVirtualization/hostpools/armpool01"
}

Debug Output

Panic Output

Expected Behavior

Windows Virtual Desktop Application Group is created

Actual Behavior

Error: expected length of name to be in the range (3 - 31), got thisnameis39characterslongandshouldwork

  on provider.tf line 7, in resource "azurerm_virtual_desktop_application_group" "desktopapp":
   7: resource "azurerm_virtual_desktop_application_group" "desktopapp" {

Windows Virtual Desktop Application Group is not created because the application group name is too long. I have checked with an ARM template and the API directly and the actual allowed range for an application group name is 1-260 characters.

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@timbehh timbehh changed the title azurerm_virtual_desktop_application_group name length is 3-31, should be 1-260 azurerm_virtual_desktop_application_group name allowed length is 3-31, should be 1-260 Oct 22, 2020
ritesh-modi pushed a commit to ritesh-modi/terraform-provider-azurerm that referenced this issue Oct 28, 2020
ritesh-modi pushed a commit to ritesh-modi/terraform-provider-azurerm that referenced this issue Oct 28, 2020
@katbyte katbyte added this to the v2.34.0 milestone Oct 28, 2020
katbyte pushed a commit that referenced this issue Oct 28, 2020
@ghost
Copy link

ghost commented Oct 29, 2020

This has been released in version 2.34.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.34.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Nov 28, 2020

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!

@ghost ghost locked as resolved and limited conversation to collaborators Nov 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants