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

fix: applied terraform fmt command #79

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

rushimohite001
Copy link

what

  • Added support for managing Private DNS Zone Group within the module.
  • Conditionally link to an existing Private DNS Zone or create a new one based on the provided input (var.existing_private_dns_zone).

why

  • Create a new Private DNS Zone if no existing zone is provided, or
  • Link to an existing Private DNS Zone, which aligns with use cases where a shared DNS zone is required across multiple VNets or projects.

main.tf Outdated
@@ -217,6 +217,12 @@ resource "azurerm_private_endpoint" "pep" {
resource_group_name = var.resource_group_name
subnet_id = var.subnet_id
tags = module.labels.tags

private_dns_zone_group {
name = format("%s-sa-dns-zone-group", module.labels.id)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why in name we have sa ? It is for storage account. Please make it kv

main.tf Outdated
]
}
}
# resource "azurerm_private_dns_a_record" "arecord" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we are commenting it? We need to remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants