https://pulumi.com logo
Title
s

steep-beard-51215

04/01/2021, 9:18 AM
Hello, does anybody know how to use a specific version of a plugin from the CLI? The
import
using azuread 3.x branch is broken so I need to use a 2.6.x version; however, it’s a bit unpleasant to
rm
the latest version, install the 2.6.1, import, then install the latest 3.X over and over again any time I need to import something from AAD
t

tall-librarian-49374

04/01/2021, 9:23 AM
You can set the version of the provider in your package imports for NPM/NuGet/etc.
s

steep-beard-51215

04/01/2021, 9:25 AM
pulumi import
uses the `go.mod`file to run?
👀 1
t

tall-librarian-49374

04/01/2021, 9:30 AM
pulumi import
calls provider’s read function to retrieve the state, so yes
s

steep-beard-51215

04/01/2021, 9:32 AM
Thanks, I will try something