i am trying to create HttpListeners as part of cre...
# azure
k
i am trying to create HttpListeners as part of creating my applicationGateway its looks like FrontendIPConfiguration should get SubResourcePtrInput this says that i have to create the resource separately before? or i can pass that?
h
yes, the PublicIP needs to be managed separately
i just did this, let me look it up
ok, so I'm using classic (native can't make an ApplicationGateway, https://github.com/pulumi/pulumi-azure-native/issues/3143). I'm creating my IPv4
PublicIPAddress
(IPv6 is in preview and I just didn't feel like dealing with beta stuff), and then my ApplicationGateway has: •
frontend_ip_configurations
(
ApplicationGatewayFrontendIpConfigurationArgs
) pointing to
PublicIPAddress.name
frontend_ports
for 80 and 443 • and
http_listeners
for the combination of IPs and Ports
oh, yeah,
SubResourceArgs
is a native thing, and yeah, you're probably going to run into the same problem where it wants the full path ID for other sub resources, but you can't construct the full path ID until you know the ID of the overall Application Gateway
honestly, I kept bumping into problems like this with azure native, i'm just writing all my code with azure classic now
k
azure classic is better?
i am trying to create appgw wit backendsettings + probes + FrontendPorts +BackendAddressPools and more and more… did you succeed in doing that with an azure classic?
h
yes i did
k
do you have a link to your code or something like that?
h
no, it's all private