brave-diamond-3279
02/26/2025, 5:28 PMazure_provider = Provider("azure-provider", environment="AzureUSGovernment")
resource_group = resources.ResourceGroup(
"resource_group",
opts=ResourceOptions(provider=azure_provider)
)
That worked mostly, but with the Resource Group, it gives the following
The configured Azure environment 'AzureUSGovernment' does not match the determined environment 'usgovernment'.
When authenticating using the Azure CLI, the configured environment needs to match the one shown by 'az account show'.
You can change environments using 'az cloud set --name <environment>'.
I can't find where it is 'determining' usgovernment
Every place i can find is set to AzureUSGovernment.
vscode ➜ /workspaces/aks_cluster (main) $ az account show
{
"environmentName": "AzureUSGovernment",
vscode ➜ /workspaces/aks_cluster (main) $ env | grep -i gov
AZURE_STORAGE_DOMAIN=<http://blob.core.usgovcloudapi.net|blob.core.usgovcloudapi.net>
AZURE_CLOUD_ENVIRONMENT=AzureUSGovernment
PULUMI_AZURE_NATIVE_ENVIRONMENT=AzureUSGovernment
ARM_ENVIRONMENT=AzureUSGovernment
brave-diamond-3279
02/26/2025, 6:29 PMmelodic-tomato-39005
02/26/2025, 6:37 PMbrave-diamond-3279
02/26/2025, 6:40 PMmelodic-tomato-39005
02/26/2025, 6:42 PMmelodic-tomato-39005
02/28/2025, 9:46 AM