Closed timothymeyers closed 2 months ago
I finished testing and was able to deploy to Commercial Cloud. After running the 2nd time, the error was gone.
Error: Error: waiting for Virtual Network Peering: (Name "peering-id-spoke-to-amgnoops-eus-hub-core-dev-vnet" / Virtual Network Name "amgnoops-eus-id-dev-vnet" / Resource Group "amgnoops-eus-id-dev-rg") to be created: network.VirtualNetworkPeeringsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ReferencedResourceNotProvisioned" Message="Cannot proceed with operation because resource /subscriptions/95a39e6c-6307-4d46-822f-8cd01c623bb5/resourceGroups/amgnoops-eus-id-dev-rg/providers/Microsoft.Network/virtualNetworks/amgnoops-eus-id-dev-vnet used by resource /subscriptions/95a39e6c-6307-4d46-822f-8cd01c623bb5/resourceGroups/amgnoops-eus-id-dev-rg/providers/Microsoft.Network/virtualNetworks/amgnoops-eus-id-dev-vnet/virtualNetworkPeerings/peering-id-spoke-to-amgnoops-eus-hub-core-dev-vnet is not in Succeeded state. Resource is in Updating state and the last operation that updated/is updating the resource is PutSubnetOperation." Details=[] │ │ with module.mod_id_network.azurerm_virtual_network_peering.spoke_to_hub, │ on .terraform/modules/mod_id_network/resources.management.spoke.peering.tf line 9, in resource "azurerm_virtual_network_peering" "spoke_to_hub": │ 9: resource "azurerm_virtual_network_peering" "spoke_to_hub" {
This issue is a test case for landing zone starter deployment.
This issue is for a: (mark with an
x
)Test steps
cd <cloned-dir>/infrastructure/terraform
cp tfvars/parameters.tfvars .
terraform version
(should be version >= 1.4.6)terraform init
terraform plan -out test.plan
terraform apply -f test.plan
Expected Results:
Other helpful details