cloud_native_azure icon indicating copy to clipboard operation
cloud_native_azure copied to clipboard

Virtual_network requires a resource group named "test"

Open dwschulze opened this issue 1 year ago • 0 comments

The code in Chapter2/1.2.1.4/Modules/Services/Virtual_network requires a ResourceGroup named "test". Either rename the RG in the test.tf file earlier in the chapter or change the variable names here to be consistent.

Error: creating/updating Network Security Group: (Name "test" / Resource Group "test"): network.SecurityGroupsClient#CreateOrUpdate: Failure sending request: StatusCode=404 -- Original Error: Code="ResourceGroupNotFound" Message="Resource group 'test' could not be found." │ │ with azurerm_network_security_group.generic-public-sec-grp, │ on main.tf line 4, in resource "azurerm_network_security_group" "generic-public-sec-grp": │ 4: resource "azurerm_network_security_group" "generic-public-sec-grp" { │

dwschulze avatar May 19 '23 18:05 dwschulze