diff --git a/terraform/environments/dev/main.tf b/terraform/environments/dev/main.tf index 68a7e04..81b90b0 100644 --- a/terraform/environments/dev/main.tf +++ b/terraform/environments/dev/main.tf @@ -46,7 +46,7 @@ data "google_client_openid_userinfo" "me" { } resource "local_file" "ansible_config" { - content = templatefile("${path.module}/../../../templates/ansible.cfg.tpl", + content = templatefile("${path.module}/../../templates/ansible.cfg.tpl", { remote_user = data.google_client_openid_userinfo.me.email } diff --git a/terraform/template/ansible.cfg.tpl b/terraform/templates/ansible.cfg.tpl similarity index 100% rename from terraform/template/ansible.cfg.tpl rename to terraform/templates/ansible.cfg.tpl