terraform-provider-azurerm icon indicating copy to clipboard operation
terraform-provider-azurerm copied to clipboard

casing issue with azurerm_private_endpoint private_dns_zone_ids

Open fgarcia-cnb opened this issue 5 months ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Community Note

  • Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave comments along the lines of "+1", "me too" or "any updates", 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 and review the contribution guide to help.

Terraform Version

1.8.5

AzureRM Provider Version

3.111.0

Affected Resource(s)/Data Source(s)

azurerm_private_endpoint

Terraform Configuration Files

dynamic "private_dns_zone_group" {
    for_each = local.is_ampls ? [1] : []
    content {
      name                 = "${var.host_names[floor(count.index / length(var.subresource_names))]}-${var.subresource_names[count.index % length(var.subresource_names)]}${var.cosmos_failover_pe_suffix}-pe-dnz-zone-group"
      private_dns_zone_ids = data.azurerm_private_dns_zone.ampls_zones[*].id
    }

Debug Output/Panic Output

n/a

Expected Behaviour

resource id casing differences should not trigger changes

Actual Behaviour

changes in resource group casing triggers changes

image

Steps to Reproduce

No response

Important Factoids

No response

References

No response

fgarcia-cnb avatar Sep 13 '24 05:09 fgarcia-cnb