Azure / terraform-azurerm-avm-res-storage-storageaccount

This Terraform module is designed to create Azure Storage Accounts and its related resources, including blob containers, queues, tables, and file shares. It also supports the creation of a storage account private endpoint which provides secure and direct connectivity to Azure Storage over a private network.
https://registry.terraform.io/modules/Azure/avm-res-storage-storageaccount
MIT License
19 stars 27 forks source link

[AVM Module Issue]: Add support for ignore_change private_dns_zone_group #138

Closed RelaxingLoki475 closed 1 month ago

RelaxingLoki475 commented 1 month ago

Check for previous/existing GitHub issues

Issue Type?

I'm not sure

(Optional) Module Version

0.2.1

(Optional) Correlation Id

No response

Description

On private endpoint module definition is not managed the case of private_dns_zone_group is not present and then lifecycle ignore_changes for example as module https://github.com/Azure/terraform-azurerm-avm-res-web-site/blob/v0.9.0/main.private_endpoints.tf

chinthakaru commented 1 month ago

@RelaxingLoki475 Thank you for reaching out. Are you encountering any errors during the deployment?

RelaxingLoki475 commented 1 month ago

In our case the private_dns_zone_group configuration is managed centrally by landing zone. When a private endpoint is deployed it is automatically linked to a private_dns_zone_group. In subsequent applies after the first deployment, Terraform identifies this change as unmanaged and discards it in every apply

chinthakaru commented 1 month ago

@RelaxingLoki475 Thank you for the feedback. We will update the variable with private_endpoints_manage_dns_zone_group within a few days.