Is there any option to run a script on a remote machine? Something similar to remote exec function from terraform?
I checked the "pulumi command" Provider documents, but the guide is very limited to typescript. We are looking for some examples in python run time.
Any example repo/guide would be appreciated 🙏
theres a python example of how to use the command resource in the python tab
01/30/2023, 8:47 AM
All the API docs have language selector tabs on them. It defaults to TypeScript but all our docs should have python versions as well.
01/30/2023, 8:53 AM
I am going through this documents.
In our case the main server login happens with multiple tunneling. We login to bastion then another server and from there main server.. This command function works in this situation as well? ( as its based on ssh connection)
01/30/2023, 7:54 PM
No. In this case, you'll have to sort it yourself. You may find that it's easier to do something that runs natively inside the VPC. Maybe provisioning a lambda or an SSM document.