-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Resource Group and VNET Names Swapped in Not Found Error #2016
Comments
Hi, Thanks |
Ok, I've found the changelog and I see this issue is in 1.17.0 which is currently unreleased. I've also found that I should be able to add Any suggestions? Any idea when 1.17.0 will be release? Thanks |
It seems like this is also happening for azurerm_virtual_network:
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
The error message in data.azurerm_subnet not found has resource group where vnet should be and vice versa.
Community Note
Terraform Version
0.11.8
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Error: Error refreshing state: 1 error(s) occurred:
module.apis.data.azurerm_subnet.api_subnet_aks: 1 error(s) occurred:
module.apis.data.azurerm_subnet.api_subnet_aks: data.azurerm_subnet.api_subnet_aks: Error: Subnet "subnet" (Virtual Network "VNET_NAME" / Resource Group "RESOURCE_GROUP_NAME") was not found
Actual Behavior
Error: Error refreshing state: 1 error(s) occurred:
module.apis.data.azurerm_subnet.api_subnet_aks: 1 error(s) occurred:
module.apis.data.azurerm_subnet.api_subnet_aks: data.azurerm_subnet.api_subnet_aks: Error: Subnet "subnet" (Virtual Network "RESOURCE_GROUP_NAME" / Resource Group "VNET_NAME") was not found
Steps to Reproduce
terraform plan
Important Factoids
None
References
The text was updated successfully, but these errors were encountered: