https://pulumi.com logo
#general
Title
# general
w

wide-library-73151

01/03/2024, 11:30 PM
Is pulumi-command for local and remote execution. Is it conceptually for command execution of "pulumi up" local and remote - executing code using packages from the pulumi repository? If you can execute code remotely, is there a "pulumi command" server running remote then?
c

cuddly-computer-18851

01/04/2024, 12:33 AM
It's for executing adhoc commands as part of your Pulumi project DAG. If you use the remote option, you need to provide it details about where the remote server is. eg
Copy code
const connection: types.input.remote.ConnectionInput = {
    host: server.publicIp,
    user: "ec2-user",
    privateKey: privateKey,
};
w

wide-library-73151

01/04/2024, 1:09 AM
Thanks... Is there anything running on the remote or is is like a ssh thing?
Well I guess, if ssh there is a SSH daemon, what is needed for Pulumi remote?
c

cuddly-computer-18851

01/04/2024, 1:11 AM
Yep its using ssh