This uses terraform's template_file resource to generate a yaml properties file for serverspec to use.
- create the Rakefile in your terraform project root
- create a
specdirectory and putspec_helper.rbin it - create the
templates/properties.tmpl.ymlfile - create the
serverspec.tf terraform apply
Tests will be matched based on roles defined for a given node.