https://pulumi.com logo
#general
Title
# general
r

red-scooter-62880

07/28/2022, 2:40 PM
Why do I get this error when deploying API Management in Azure with Pulumi:
Copy code
error: Code="InvalidParameters" Message="Invalid parameter: Cannot have two services in the same location 'East US'."
@echoing-dinner-19531 Do you know why this might be happening? It only occurs when I use Pulumi. If I create the same resource in the Azure portal it works.
e

echoing-dinner-19531

07/29/2022, 9:38 AM
No idea, I'd think if location constraints were an issue it would apply to portal as well. Might be an issue in the azure api, pulumi wouldn't be doing that check.
r

red-scooter-62880

07/29/2022, 9:39 AM
@echoing-dinner-19531 Seems strange since I think Azure portal uses the same APIs, but maybe it is just that. I will enable debugging in Pulumi.
e

echoing-dinner-19531

07/29/2022, 9:40 AM
No portal has it's own backend, we do see differences between portal and the apis
r

red-scooter-62880

07/29/2022, 9:41 AM
@echoing-dinner-19531 Ok that might be why then.
5 Views