When running the static-website-azure-typescript template in Pulumi Deployments linked to an Azure OIDC principal with the Contributor role, I get the following error when running pulumi up in Deployments:
21
@ Updating.................................
22
azure-native:storage:Blob index.html error: obtain subscription(0282681f-7a9e-424b-80b2-96babd57a8a1) from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.
23
pulumi:pulumi:Stack my-az-app-dev 1 message
24
azure-native:storage:Blob index.html **failed** 1 error
25
Diagnostics:
26
azure-native:storage:Blob (index.html):
27
error: obtain subscription(0282681f-7a9e-424b-80b2-96babd57a8a1) from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.
If this is not supported, we should document it in the resource's docs and probably Install and Config. Also, if it's not supported, we may want to consider changing the method by which we upload the static website files in the template so that the template works with Pulumi Deployments.
Example
n/a
Output of pulumi about
CLI
Version 3.89.0
Go Version go1.21.3
Go Compiler gc
Plugins
NAME VERSION
azure-native 2.12.0
nodejs unknown
synced-folder 0.0.9
Host
OS darwin
Version 14.0
Arch arm64
This project is written in nodejs: executable='/Users/jkodroff/.nvm/versions/node/v20.8.0/bin/node' version='v20.8.0'
Current Stack: jkodrofftest/my-az-app/dev
TYPE URN
pulumi:pulumi:Stack urn:pulumi:dev::my-az-app::pulumi:pulumi:Stack::my-az-app-dev
pulumi:providers:azure-native urn:pulumi:dev::my-az-app::pulumi:providers:azure-native::default_2_12_0
azure-native:storage:StorageAccount urn:pulumi:dev::my-az-app::azure-native:storage:StorageAccount::account
azure-native:storage:StorageAccountStaticWebsite urn:pulumi:dev::my-az-app::azure-native:storage:StorageAccountStaticWebsite::website
pulumi:providers:synced-folder urn:pulumi:dev::my-az-app::pulumi:providers:synced-folder::default_0_0_9
synced-folder:index:AzureBlobFolder urn:pulumi:dev::my-az-app::synced-folder:index:AzureBlobFolder::synced-folder
pulumi:providers:azure-native urn:pulumi:dev::my-az-app::pulumi:providers:azure-native::default_1_89_1
Found no pending operations associated with dev
Backend
Name pulumi.com
URL https://app.pulumi.com/jkodroff
User jkodroff
Organizations jkodroff, oracle-workshop, jkodrofftest, aws-partnership, zephyr, demo, pulumi
Token type personal
Dependencies:
NAME VERSION
@pulumi/azure-native 2.12.0
@pulumi/pulumi 3.89.0
@pulumi/synced-folder 0.0.9
@types/node 16.18.59
typescript 4.9.5
Pulumi locates its logs in /var/folders/5m/4n1x3f8151s35wc80w06z5k80000gn/T/ by default
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
What happened?
When running the
static-website-azure-typescript
template in Pulumi Deployments linked to an Azure OIDC principal with theContributor
role, I get the following error when runningpulumi up
in Deployments:If this is not supported, we should document it in the resource's docs and probably Install and Config. Also, if it's not supported, we may want to consider changing the method by which we upload the static website files in the template so that the template works with Pulumi Deployments.
Example
n/a
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).