Closed azureholic closed 4 months ago
@azureholic - a public IP is required for the management endpoint, even when using an Internal VNET. Should we consider restricting this requirement to only "External," as suggested in the pull request?
publicIpAddressId: (virtualNetworkType == 'External') ? apimPublicIp.id : null
Please let me know if there are any additional considerations. I've currently tested this configuration with an internal VNET for APIM while working with a customer.
I did not test with "Internal" for APIM, so I'm not sure. I do not recall the requirement for a public IP for the APIM management endpoint @pascalvanderheiden : do you know?
From documentation:
The public IP address resource is required when setting up the virtual network for either external or internal access. With an internal virtual network, the public IP address is used only for management operations.
I tested this with "Internal" VNET for APIM:
You are very right @punitkshah ! I'll change the bicep. In either case (Internal or External) a public IP should be provided to force stv2. I wasn't aware, thanks for pointing this out.
Tested. Good to go.
By introducing an explicit public IP APIM deploys in stv2 compute model Needed because stv1 is almost EOL You will have to reprovision APIM - so new AZD UP in a fresh environment