modern-dinner-78469
06/15/2023, 4:14 AM/tmp/pulumi/plugins/resource-azure-native-v1.102.0/pulumi-resource-azure-native: plugin not found
. It worked before, the only change we made recently is we change to use a new azure storage account to store pulumi state, but before it we also use storage account we just change to use a different.
Also after checking, I can see resource-azure-native-v1.102.0/pulumi-resource-azure-nativ
actually exists but why still complaining.
await stack.Workspace.InstallPluginAsync("azure", "v4.19.0");
await stack.Workspace.InstallPluginAsync("azure-native", "v1.102.0");
await stack.Workspace.InstallPluginAsync("azuread", "v5.36.0");
echoing-dinner-19531
06/15/2023, 7:31 AMlinuxper chance is it alpine? Try updating azure-native to 1.103.0, that fixed some issues with glibc linking which were showing up as "plugin not found" because the binary couldn't be executed.
modern-dinner-78469
06/15/2023, 9:54 AMmessage\": \"error: failed to load Azure credentials.\\nDetails: could not configure AzureCli Authorizer: could not parse Azure CLI version: launching Azure CLI: exec: \\\"az\\\": executable file not found in $PATH\\n\\n\\tPlease make sure you have signed in via 'az login' or configured another authentication method
. It happens on linux, but it works fine on my local windows machineechoing-dinner-19531
06/16/2023, 8:33 AMaz
installed, although I think we have fallbacks that don't use that as long as the right "ARM_" environment variables are set (ARM_CLIENT_ID, ARM_CLIENT_SECRET, ARM_TENANT_ID and ARM_SUBSCRIPTION_ID iirc)modern-dinner-78469
06/16/2023, 10:04 AMEnvironment.SetEnvironmentVariable("AZURE_STORAGE_ACCOUNT", xxx);
Environment.SetEnvironmentVariable("AZURE_STORAGE_KEY", xxx);
Environment.SetEnvironmentVariable("AZURE_CLIENT_ID", xxx);
Environment.SetEnvironmentVariable("AZURE_SUBSCRIPTION_ID", xxx);
Environment.SetEnvironmentVariable("AZURE_CLIENT_SECRET", xxx);
Environment.SetEnvironmentVariable("AZURE_TENANT_ID", xxx);
Environment.SetEnvironmentVariable("PULUMI_CONFIG_PASSPHRASE", xxx);
echoing-dinner-19531
06/16/2023, 10:09 AMmodern-dinner-78469
06/16/2023, 10:17 AM