infrastructure/terraform/context.tf

8 lines
194 B
HCL

resource "local_file" "hosts" {
content = yamlencode({
hosts : {
casey_ip : vultr_server.casey.main_ip
}
})
filename = "${path.module}/../ansible/group_vars/all/hosts.yml"
}