-
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
Some data sources not supported for azurerm #621
Comments
Hey @shahbhavya85 Thanks for opening this issue :) To answer each question in-line:
This is a good spot and I've opened #623 which includes a new data source for Network Security Groups - which should land in the next release
The
Support for this was merged in #533 which will be going out in the next release Thanks! |
Thanks for quick around! I found the error what I was doing wrong. Instead of using resource.azurerm_subnet.test was using data.azurerm_subnet.test. Updated and it resolved the issue for me. |
@shahbhavya85 awesome - thanks for confirming that. I've just released v1.0.0 of the AzureRM Provider which includes support for the network security group data source. Given that I believe this issue is resolved and I'm going to close this issue for the moment; but please feel free to re-open it if you're still having issues and we'll take another look :) Thanks! |
@tombuildsstuff Awesome!! |
Hi same issue when using provider 1.22.0. My terraform file contains:
Getting the following error: Any help would be greatly appreciated |
@AhmedAZafar the data source is Since this issue's been resolved for over a year now I'm going to lock this issue for the moment; however please open a new issue if that doesn't work for you and we'll take another look. Thanks! |
Terraform Version
Terraform v0.10.8
Affected Resource(s)
Trying to use data source for above resources and it fails.
Error: data.azurerm_network_security_group.test: Provider doesn't support data source: azurerm_network_security_group
Error: data.azurerm_subnet.test: "address_prefix": this field cannot be set
Error: data.azurerm_virtual_network.test: Provider doesn't support data source: azurerm_virtual_network
The text was updated successfully, but these errors were encountered: