diff --git a/terraform/backends.tf b/terraform/backends.tf index 59a3339..f6cd6f8 100644 --- a/terraform/backends.tf +++ b/terraform/backends.tf @@ -1,8 +1,8 @@ terraform { backend "s3" { - bucket = "0rng-terraform" - key = "terraform.tfstate" + bucket = "0rng-terraform" + key = "terraform.tfstate" encrypt = true - region = "eu-west-2" + region = "eu-west-2" } } diff --git a/terraform/context.tf b/terraform/context.tf index b827652..0397fc7 100644 --- a/terraform/context.tf +++ b/terraform/context.tf @@ -1,8 +1,8 @@ resource "local_file" "hosts" { - content = yamlencode({ - hosts: { - casey_ip: vultr_server.casey.main_ip - } - }) - filename = "${path.module}/../ansible/group_vars/all/hosts.yml" + content = yamlencode({ + hosts : { + casey_ip : vultr_server.casey.main_ip + } + }) + filename = "${path.module}/../ansible/group_vars/all/hosts.yml" }