modern-dinner-7846906/15/2023, 4:14 AM
. 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
/tmp/pulumi/plugins/resource-azure-native-v1.102.0/pulumi-resource-azure-native: plugin not found
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-1953106/15/2023, 7:31 AM
linuxper 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-7846906/15/2023, 9:54 AM
. It happens on linux, but it works fine on my local windows machine
message\": \"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
echoing-dinner-1953106/16/2023, 8:33 AM
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-7846906/16/2023, 10:04 AM
Environment.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-1953106/16/2023, 10:09 AM
modern-dinner-7846906/16/2023, 10:17 AM