https://pulumi.com logo
Title
s

salmon-engine-64802

06/30/2021, 8:10 AM
Guys where I can read about packages Pulumi.Azure Pulumi.AzureNextGen Pulumi.AzureNative What the difference between them?
b

brave-planet-10645

06/30/2021, 8:28 AM
I'll find the link... but basically,
Pulumi.Azure
is the provider based on the upstream TF provider,
Pulumi.AzureNative
is a provider based on the ARM templates from Azure (so always up to date with the latest resources and changes) and
Pulumi.AzureNextGen
is I think what we were calling AzureNative before we decided to stick with AzureNative.
👍 1
My advice is to use AzureNative because that gives you 100% coverage of all resources in the ARM templates and therefore Azure
s

salmon-engine-64802

06/30/2021, 8:30 AM
Thanks very much. I cant find "AccessPolicy" for key vault which already exists in AzureNextGen.
b

brave-planet-10645

06/30/2021, 8:30 AM
I don't know if we have a page describing the differences, but here's a blog post explaining azure native https://www.pulumi.com/blog/full-coverage-of-azure-resources-with-azure-native/
Don't use azure nextgen... i don't think it's up to date. It's also marked as legacy and unmaintained in the various package managers
👍 1
s

salmon-engine-64802

06/30/2021, 8:44 AM
@brave-planet-10645 Thanks for the help. You said 100% coverage. I looked through the github and cant find AccessPolicy for KeyVault. Could you please advice me how to add AccessPolicy to existed KeyVault?
b

brave-planet-10645

06/30/2021, 8:45 AM
You'd need to import it into your pulumi stack first and then update the access policies: https://www.pulumi.com/docs/reference/pkg/azure-native/keyvault/vault/#accesspolicies_nodejs
s

salmon-engine-64802

06/30/2021, 8:47 AM
That's fantastic. Thanks very much!