Format terrsform again

This commit is contained in:
Jake Howard 2020-02-21 22:16:08 +00:00
parent 2471b4f843
commit 29aee58a2e
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 9 additions and 9 deletions

View file

@ -1,8 +1,8 @@
terraform { terraform {
backend "s3" { backend "s3" {
bucket = "0rng-terraform" bucket = "0rng-terraform"
key = "terraform.tfstate" key = "terraform.tfstate"
encrypt = true encrypt = true
region = "eu-west-2" region = "eu-west-2"
} }
} }

View file

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