https://pulumi.com logo
Title
n

nice-guitar-97142

03/05/2021, 2:47 PM
is there a mapping of the old
@pulimi/azure
to
@pulumi/auzre-nextgen
somewhere? I am trying to figure out how to get something similar to the
@pulumi/azure/storage/account.primaryConnectionString
while using the
@pulumi/azure-nexgen
provider
t

tall-librarian-49374

03/05/2021, 2:51 PM
There’s no mapping because resources aren’t 1:1. Also, Azure API returns no sensitive information by default, so you have to make an explicit call to retrieve the keys in the native provider.
Here is an example of retrieving a connection string: https://github.com/pulumi/examples/blob/master/azure-ts-functions/helpers.ts#L7
n

nice-guitar-97142

03/05/2021, 2:53 PM
that makes perfect sense! thanks for this.