Terraform data source giving resource not found error even the resource exist in the cloud

1k Views Asked by At

I was calling a data source in side terraform code.

data "azurerm_private_dns_zone" "acr_service" {
  name                = "privatelink.azurecr.io"
  resource_group_name = "it-aue1-cor-arg-privatedns"

This resource and resource group already exist in the cloud. still i am getting resource not found error.

0

There are 0 best solutions below