Terraform not recognizing existing Azure Resource Groups when using data sources
I've encountered a strange issue with I'm refactoring my project and I've been struggling with this for a few days now and could really use some help. I'm trying to use Terraform to manage my Azure resources, but I'm running into an scenario where it seems that Terraform is not recognizing existing resource groups when I attempt to reference them using the `data` block. I have the following code snippet: ```hcl provider "azurerm" { features {} } data "azurerm_resource_group" "existing_rg" { name = "my-existing-resource-group" } resource "azurerm_storage_account" "example" { name = "examplestoracc" resource_group_name = data.azurerm_resource_group.existing_rg.name location = data.azurerm_resource_group.existing_rg.location account_tier = "Standard" account_replication_type = "LRS" } ``` When I run `terraform plan`, I get the following behavior: ``` behavior: ResourceGroup "my-existing-resource-group" not found in the specified subscription ``` I have verified that the resource group actually exists in the Azure portal and that I am using the correct subscription. I even tried specifying the subscription ID in the provider block, like this: ```hcl provider "azurerm" { features {} subscription_id = "my-subscription-id" } ``` Still, the behavior continues. I also confirmed that I have the necessary permissions to access the resource group. I've checked the Azure CLI and it can see the resource group without any issues. Is there something I might be missing in my Terraform configuration or in the way I'm using the data source? Any tips on troubleshooting this would be greatly appreciated! For context: I'm using Hcl on Windows. I'm on Ubuntu 22.04 using the latest version of Hcl. Any ideas how to fix this? Is there a simpler solution I'm overlooking?