Has anyone else had issues creating a local packag...
# azure
m
Has anyone else had issues creating a local package using the V3 Azure provider? I tried to create a local package because I need access to a preview API for my project and I'm not able to do that. Using the sample command
pulumi package add azure-native storage v20240101
I get the error message
error: failed to get schema: parameterize: rpc error: code = Unimplemented desc = method Parameterize not implemented
If I use the command
pulumi package add azure-native
, code is created for all api versions. But I'd like to avoid generating that much code when I'm only going to use one folder within it.
pulumi version
output:
v3.160.0
e
Have you installed the latest azure plugin with
pulumi plugin install
?
m
Looks like that was the problem, I still had the v2 plugin installed. I assumed it would automatically install after upgrading my C# project to use the v3 NuGet package, but that didn't happen. If anyone else has this problem, I resolved it by: • Removed my local azure plugin with command:
pulumi plugin rm resource azure-native
• Installed the new one with command:
pulumi plugin install resource azure-native
• Verified the v3 azure-native plugin is installed with command
pulumi plugin ls
• Created my local package with command
pulumi package add azure-native app v20231102preview
m
Thanks for the detailed solution. I guess it should be added to the documentation : https://www.pulumi.com/registry/packages/azure-native/from-v2-to-v3/