infrastructure/terraform/context.tf

9 lines
196 B
Terraform
Raw Normal View History

resource "local_file" "hosts" {
2020-02-21 22:16:08 +00:00
content = yamlencode({
hosts : {
casey_ip : vultr_instance.casey.main_ip
2020-02-21 22:16:08 +00:00
}
})
filename = "${path.module}/../ansible/group_vars/all/hosts.yml"
}