Format terrsform again
This commit is contained in:
parent
2471b4f843
commit
29aee58a2e
2 changed files with 9 additions and 9 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue