https://pulumi.com logo
Title
a

adventurous-camera-87788

07/06/2021, 10:50 PM
Hey guys, I am working with pulumi & azure native to create a storage account with the follow specs:
const storageAccount = new azure_native.storage.StorageAccount(storageAccountName, {
        accountName: storageAccountName,
        resourceGroupName: resourceGroup.name,
        location: resourceGroup.location,
        sku: {
            name: 'Standard_GRS'
        },
        kind: 'StorageV2'
    });
I am trying to figure out how to get the primary connection string from this instance. Does anyone know how to do that? I noticed standard storage account using the Azure library (not azure native) has a property
primaryConnectionString
that can be used as an output. Does something similar exist for the azure-native version of the storage account? Any help is appreciated.
Take a look at that link ^^ that'll tell you how to do it
(It looks like you're using typescript, but the templates repo has the same in all the different languages)
a

adventurous-camera-87788

07/08/2021, 6:50 PM
@brave-planet-10645 I was able to solve the previous issue with your help, could you please take a look at this :
<https://pulumi-community.slack.com/archives/C01PF3E1B8V/p1625770120386200>
. It feels like a similar problem but I just can’t make the connection on how the previous solution & this problem are related.