Hi, I am new to Pulumi, and getting up to speed us...
# getting-started
m
Hi, I am new to Pulumi, and getting up to speed using Python. I want to: Create a droplet on digitalocean. Copy some scripts over to the new droplet. Execute the scripts. After initially creating the droplet, the first copy and/or command fails. It runs fine the second time after the droplet exists. I have tried: Adding waiting custom timeouts dependencies A check-ready command What should I try next?
So, I am going to reply to myself as I have solved it. I believe that the user_data script was not fully executing before the remote copy and commands were run. I was surprised to find this, the script was only creating a few directories, which I thought would be eyeblink in time. Anyway, by moving the critical mkdirs to a remote command, it all works just fine.