Closed sachingawas229 closed 3 years ago
hi @sachingawas229 your two options are:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Hi,
I am running following code on my terraform project,
passing a variable to a user data and execute it on init to copy files from s3 and place it on ec2, however in CLoudformation I had a option of using wait for condition but in Terraform there is no way to stop terraform from executing further before we know that scrip is successful or failed. Can anyone put some light on this. I have already used remot-exec but that doesnt solve the purpose because it is just a hack. I want something which I can use to let terraform know stop because something is wrong.