Is there any alternative feature in terraform like cloudformation waitcondition

415 views
Skip to first unread message

Sreekumar

unread,
Mar 17, 2016, 3:21:46 PM3/17/16
to Terraform
Hi,

I need to wait my terraform script to wait for the userdata execution to complete. In cloudformation we have waitcondition, is there any alternative method in terraform for this feature.


Thank you

Paul Hinze

unread,
Mar 17, 2016, 4:57:16 PM3/17/16
to terrafo...@googlegroups.com
Hi there,

A remote-exec provisioner or local-exec provisioner can be used to wait for arbitrary commands to succeed before Terraform continues to process the dependency graph.

You can read up on all available provisioners here: https://www.terraform.io/docs/provisioners/

Hope this helps!

Paul



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/aa3fc2f0-5a74-433c-86eb-d6655b596128%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sreekumar

unread,
Mar 18, 2016, 12:54:35 PM3/18/16
to Terraform
Thanks Paul
Reply all
Reply to author
Forward
0 new messages