https://pulumi.com logo
Title
f

few-carpenter-12885

02/21/2023, 4:11 PM
Is there an equivalent
pulumi plugin install <plugin> --file <file>
for an inline application? I'm trying to prevent from having to make calls over the network when installing the AWS plugin via
workspace.installPlugin('aws', 'v4.0.0')
. Ideally, I'd have the binary already available in my docker container and point to it.
oh sorry, local file?
f

few-carpenter-12885

02/21/2023, 4:22 PM
Yes, I'm running a container with restricted internet access, so a file would be ideal
I might be able to work with
installPluginFromServer
, though
b

billowy-army-68599

02/21/2023, 4:23 PM
if you have the file already, pulumi shouldn’t need to acquire it. just don’t run the install method
f

few-carpenter-12885

02/21/2023, 4:24 PM
You're saying that subsequent installs won't attempt to retrieve the plugin again?
even if it's a different workspace
l

little-cartoon-10569

02/21/2023, 8:35 PM
Plugin files are looked for in ~/.pulumi/plugins. Copy the right files in there, and you should be good to go.
f

few-carpenter-12885

02/21/2023, 8:37 PM
@little-cartoon-10569 Perfect, just what I was looking for 👍