Hi! I'm having some issues creating a Application...
# azure
Hi! I'm having some issues creating a Application Gateway for AKS ingress. According to the documentation from MS; https://learn.microsoft.com/en-us/azure/application-gateway/tutorial-ingress-controller-add-on-existing It's possible to create the App gateway without specifying frontendport and backendpool:
Copy code
az network application-gateway create -n myApplicationGateway -l eastus -g myResourceGroup --sku Standard_v2 --public-ip-address myPublicIp --vnet-name myVnet --subnet mySubnet --priority 100
This doesn't work through pulumi. This is the code I'm trying to use:
Copy code
export class itssappgw extends ComponentResource {
        name: string,
        args: appgwArgs,
        options?: ComponentResourceOptions,
    ) {
        super(`pkg:ITSS:appgw`, `ITSS:appgw`)
        const AppGateway = new ApplicationGateway(name, {
            applicationGatewayName: name,
            resourceGroupName: args.resgrp,
            sku: {
                capacity: 3,
                name: "Standard_v2",
                tier: "Standard_v2"
            frontendIPConfigurations: [{
                name: "appGatewayFrontendIP",
                publicIPAddress: {
                    id: args.publicip
            gatewayIPConfigurations: [{
                name: "appGatewayFrontendIP",
                subnet: {
                    id: args.subnet
        }, { deleteBeforeReplace: true, parent: this }
But I get error that it's missing frontendport:
Copy code
error: Code="ApplicationGatewayMustHaveAtleastOneResourceOfType" Message="At least one FrontendPort resource must be specified for the Application Gateway /subscriptions/xxxxxxxxxxx/resourceGroups/RG-Name/providers/Microsoft.Network/applicationGateways/GitHubActionRunnersAppGW." Details=[]
Shouldn't this be possible through pulumi too?