alert-winter-63166
07/04/2023, 12:12 PMCode="InvalidResourceReference" Message="Resource /subscriptions/id/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/ingress-appgateway/frontendIPConfigurations/appGatewayFrontendIP referenced by resource appgwhttplistener was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.
Pulumi.yaml:89,17-69: circular dependency of resource 'applicationGateway' transitively on itself;
applicationGateway:
type: azure-native:network:ApplicationGateway
properties:
applicationGatewayName: ingress-appgateway
backendAddressPools:
- backendAddresses:
- ipAddress: 10.224.0.52
name: ingress-appgateway-appgwpool
backendHttpSettingsCollection:
- cookieBasedAffinity: Disabled
name: ingress-appgateway-bhs
port: 80
protocol: Http
requestTimeout: 30
frontendIPConfigurations:
- name: ingress-appgateway-frontendip
publicIPAddress:
id: ${publicIPAddress.id}
frontendPorts:
- name: httpsPort
port: 443
- name: httpPort
port: 80
gatewayIPConfigurations:
- name: ingress-appgateway-gwipc
subnet:
id: ${ingressAppgateway-subnet.id}
# httpListeners:
# - frontendIPConfiguration:
# id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip
# frontendPort:
# id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp
# name: appgwhttplistener
# protocol: Http
#requestRoutingRules:
# - backendAddressPool:
# id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool
# backendHttpSettings:
# id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs
# httpListener:
# id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl
# name: appgwrule
# priority: 10
# rewriteRuleSet:
# id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1
# ruleType: Basic
# - httpListener:
# id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/ingress-appgateway/httpListeners/appgwhttplistener
# name: appgwPathBasedRule
# priority: 20
# ruleType: PathBasedRouting
# urlPathMap:
# id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/ingress-appgateway/urlPathMaps/pathMap1
# identity:
# type: UserAssigned
# userAssignedIdentities: ${userAssignedIdentity.id}
location: ${azure-native:location}
resourceGroupName: ${resourceGroup.name}
sku:
capacity: 2
name: Standard_v2
tier: Standard_v2
httpListeners:
- frontendIPConfiguration:
id: ${applicationGateway.frontendIPConfigurations[0].id}
frontendPort:
id: ${applicationGateway.frontendPorts[1].id}
name: appgwhttplistener
protocol: Http