miniature-leather-70472
03/02/2021, 5:35 PMminiature-leather-70472
03/03/2021, 4:28 PMbetter-shampoo-48884
03/04/2021, 1:51 PMid:
references to objects being defined in the same configuration..better-shampoo-48884
03/04/2021, 1:52 PMhttpListeners: [
{
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",
},
better-shampoo-48884
03/04/2021, 1:53 PMbetter-shampoo-48884
03/04/2021, 2:00 PMbetter-shampoo-48884
03/04/2021, 2:48 PMbetter-shampoo-48884
03/04/2021, 2:49 PMminiature-leather-70472
03/04/2021, 2:51 PMripe-russia-4239
03/04/2021, 4:38 PMA
record for an apex domain custom hostname. The IP address is displayed in the Azure Portal next to the custom domain verification ID, but I can’t find it in the equivalent place in the provider APIs. Any ideas?full-winter-70537
03/05/2021, 6:16 AMbetter-shampoo-48884
03/05/2021, 7:09 AMUpdating (dev):
Type Name Status
pulumi:pulumi:Stack iaac-experiment-dev
+ └─ azure-native:network:ApplicationGateway xxxxx-agw1-primary created
So, for AppGW the httpListeners configuration and requestRoutingRules needs references to the frontendIPConfiguration, frontendPort, backendAddressPool, backendHttpSettings, and httpListener.. so yeah - requestRoutingRules defenition needs to reference the defenition of httpListener which needs to reference the defenition of frontendIPConfiguration and frontendPort... What I would like to see is this (as is with azure-classic):
frontendIpConfigurations: [{
name: "frontendIp",
...
}],
frontendPorts: [{
name: "frontendPort",
...
}],
httpListeners: [{
name: "httpListenerDefault",
frontendIPConfiguration: {
// id: THIS IS INFURIATING
name: frontendIp // <--- SO MUCH BETTER
},
frontendPort: { name: "frontendPort" }, // <--- so much nicer
}],
requestRoutingRules: [{
name: "rule1",
...
httpListener: {
// id: AGAIN! so unnecessary
name: "httpListenerDefault" // <-- so much more intuitive and easy to work with
}
}]
tall-librarian-49374
03/05/2021, 7:13 AMbetter-shampoo-48884
03/05/2021, 7:15 AMfrontendIPConfigurations: [{
name: "appGwPublicFrontendIp",
publicIPAddress: {
id: pubIp.id
}
}],
frontendPorts: appGw.frontendPorts,
gatewayIPConfigurations: appGwIPC,
httpListeners: [{
frontendIPConfiguration: {
id: rg.id.apply(id => `${id}/providers/Microsoft.Network/applicationGateways/${rgInfo.nodeName}${appGw.suffix}/frontendIPConfigurations/appGwPublicFrontendIp`),
},
frontendPort: {
id: rg.id.apply(id => `${id}/providers/Microsoft.Network/applicationGateways/${rgInfo.nodeName}${appGw.suffix}/frontendPorts/frontendPortName`),
},
name: appGw.httpListeners[0].name,
protocol: "Http",
}],
(where rg
is my resourceGroup defenition, rgInfo.name + appGw.suffix
is the name of the appGw as defined on top)better-shampoo-48884
03/05/2021, 7:17 AMbetter-shampoo-48884
03/05/2021, 7:19 AMid
field is there - but there's a limit to the amount of self-flagellation that people would be willing to perform I believe.tall-librarian-49374
03/05/2021, 7:21 AMbetter-shampoo-48884
03/05/2021, 7:22 AMtall-librarian-49374
03/05/2021, 7:22 AMbetter-shampoo-48884
03/05/2021, 7:23 AMtall-librarian-49374
03/05/2021, 7:23 AMbetter-shampoo-48884
03/05/2021, 7:23 AMbetter-shampoo-48884
03/05/2021, 7:24 AMbetter-shampoo-48884
03/05/2021, 7:24 AMtall-librarian-49374
03/05/2021, 7:25 AMbetter-shampoo-48884
03/05/2021, 7:58 AMbetter-shampoo-48884
03/05/2021, 7:59 AMtall-librarian-49374
03/05/2021, 8:15 AMnice-guitar-97142
03/05/2021, 2:47 PM@pulimi/azure
to @pulumi/auzre-nextgen
somewhere? I am trying to figure out how to get something similar to the @pulumi/azure/storage/account.primaryConnectionString
while using the @pulumi/azure-nexgen
providerworried-knife-31967
03/05/2021, 4:16 PM