Hi all, I'm attempting to deploy to a function ap...
# azure
m
Hi all, I'm attempting to deploy to a function app using a zip deploy but I'm having no luck at present. I have a vnet with subnets for storage, key vault, service bus and functions - each with a service endpoint associated to its respective azure service. The functions subnet is delegated as bellow. I'm having trouble packaging and deploying the azure function that is integrated to this vnet.
Copy code
{
            "addressPrefix": "xx.x.x.x/xx",
            "name": f"{deployment_name}-compute-sub-01",
            "serviceEndpoints": [
                azure_native.network.ServiceEndpointPropertiesFormatArgs(
                    service="Microsoft.Web",
                )
            ],
            "delegations": [
                azure_native.network.DelegationArgs(
                    name=f"{deployment_name}-compute-af-delegation",
                    service_name="Microsoft.Web/serverFarms",
                    actions=["Microsoft.Network/virtualNetworks/subnets/join/action"],
                )
            ],
        },