Skip to content

Commit

Permalink
fix(dns) set an explicit resource_group name for the azure_dns_zone d…
Browse files Browse the repository at this point in the history
…atasource

Ref. hashicorp/terraform-provider-azurerm#20773 (comment)

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
  • Loading branch information
dduportal committed Mar 21, 2023
1 parent 0694856 commit 8e49dfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ data "azurerm_resource_group" "proddns_jenkinsio" {

# TODO: import as resource
data "azurerm_dns_zone" "jenkinsio" {
name = "jenkins.io"
name = "jenkins.io"
resource_group_name = data.azurerm_resource_group.proddns_jenkinsio.name
}

resource "azurerm_dns_zone" "child_zones" {
Expand Down

0 comments on commit 8e49dfd

Please sign in to comment.