pulumi-azure
pulumi-azure copied to clipboard
[Question] Is it possible to change Azure endpoint?
Hi,
Is it possible to change Azure API endpoint? For example, if I'm choosing public as environment so it will go to api.azure.net or something like that.. Can I change the endpoint?
Thanks.
https://www.pulumi.com/docs/intro/cloud-providers/azure/#configuration describes the set of configuration options for the provider, which includes setting the environment and location.
@leezen Thanks for your answer, but in my use case the endpoint is not under non of these environments. That's why I'm asking if there is an option to pass a custom endpoint maybe? Thanks
Ah, sorry for misunderstanding. No, I don't believe there's a way to pass in a custom endpoint the way you're describing. Are you trying to use Azure Stack by chance?
Yes, I'm using Azure stack, but I want to use for some internal environment that we have inside of microsoft :-)
FWIW - there's some similar discussions related to the upstream Terraform AzureRM provider at https://github.com/terraform-providers/terraform-provider-azurerm/issues/6816. I suspect that some of the same workarounds mentioned there might be possible for Pulumi as well.