Azure / Azure/azure-rest-api-specs

Private DNS Zone Limited to 15 Tags via api-version=2018-09-01. Via portal you can add upto the 50 tag limit.

Open
#13,600 23 comments 18 reactions 0 assignees View on GitHub
Network Network - DNS question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateZoneName}?api-version=2018-09-01

When using programmatic tools/cli/terraform to apply tags to our Private DNS resource we get an error:
***privatedns.PrivateZonesClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: Code="BadRequest" Message="The resource tags are invalid. A maximum of 15 tags are allowed with keys no longer than 512 and values no longer than 256 characters."***

The resource accepts more than 15 tags via the portal. Key/Value are not the issue, it's the api that is limiting only 15 tags. Portal is supporting 50 tags on same resource.

Example of someone else seeing this limit via terraform: ***https://www.gitmemory.com/issue/terraform-providers/terraform-provider-azurerm/11032/803544043***

I've also seen this limit if using the AzureCLI and this API.

Please can you fix or give an update as to when it will be fixed?

Thanks

Contributor guide

Open the contributing guide

Research direction

Start by locating the Private DNS Zones 2018-09-01 API specification from the management.azure.com URL and compare its tag constraint with the reported portal behavior. Reproduce the discrepancy through Azure CLI or Terraform, then confirm that the API and portal consistently support the intended tag limit or document the supported limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
api, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.