https://pulumi.com logo
#azure
Title
# azure
m

magnificent-television-29869

01/19/2021, 1:28 PM
Hi all Im new here, but been getting used to pulumi, and I do actually like it, however I am currently experiencing an issue with latest:listStorageAccountKeys where i get a 404, anyone have an ideer what to look for and what might actually be wrong ?
p

prehistoric-nail-50687

01/19/2021, 1:55 PM
try this:
import { listStorageAccountKeys } from "@pulumi/azure-nextgen/storage/v20190601/";
selecting/finding the correct version is the key… Most resources have the latest version published on the documentation page, e.g. https://www.pulumi.com/docs/reference/pkg/azure-nextgen/storage/blobcontainer/ - but
listStorageAccountKeys
does not ah, just noticed, you probably don’t use TS - anyway the version you should try is:
v20190601
t

tall-librarian-49374

01/19/2021, 1:58 PM
Hi Robin. You are likely calling it before the storage account is created. Which language are you using?
m

magnificent-television-29869

01/20/2021, 11:26 AM
I am using c#, however it actually seems to be a permission issue, because in a different RG it works
3 Views