https://pulumi.com logo
Title
e

enough-truck-34175

12/09/2021, 3:27 PM
Hi all. I’m using pulumi with a custom state backend (Azure Blob). I want to point pulumi to store state in a blob storage container in Azure US Government cloud. Pulumi login is still pointing at public cloud endpoints — this is even after setting
ARM_ENVIORNMENT
to
usgovernment
. It looks like the env var is only relevant for the stack file, not
pulumi login
. Is there a way to configure pulumi to point to Azure US Government cloud?
h

happy-parrot-60128

12/09/2021, 3:45 PM
The custom state backends use the Go Cloud Development Kit. Here's some of the docs on configuring the Azure Blob Storage, though I can't immediately see an option for the environment
Ah, looks like it is there:
AZURE_STORAGE_DOMAIN
https://github.com/google/go-cloud/pull/2717
e

enough-truck-34175

12/09/2021, 3:50 PM
Ah wonderful! This solves my issue. Thanks Daniel!
☺️ 1