This message was deleted.
s
This message was deleted.
s
Instead of userdata, I think you could potentially put your script in a local or remote command and execute via SSM or SSH instead, but I haven't implemented this pattern yet so I don't know how tricky it is. https://www.pulumi.com/registry/packages/command/api-docs/
d
Thanks for your reply. Correct me if I am wrong, but I don't think you can wait for execution of the ssm document. The whole Idea is to have exposit response from ec2 that all setup went well and all application up and running.