Best practices for Terraform

Hello everyone,

I’m a n00b to Terraform, and wish to know if there are any good documentations available to understand the best practices to consider while re-factoring an existing Terraform code for a Nomad Job with two Task Groups and one Task within each.

Specifically, I’m looking at improving upon the existing “restart” block and potentially add “update, migrated, and reschedule” blocks to it to better handle failures of Nomad allocations till it succeeds, for the same set of current Constraints.

Thanks in advance for the responses!

Vinod Iyer.