From 16b512dae9d3e445a712212cc91f07fb73b908bf Mon Sep 17 00:00:00 2001 From: Tom Moguljak Date: Fri, 6 Dec 2024 16:16:10 +0100 Subject: [PATCH] Correction --- terraform/environments/dev/main.tf | 2 +- terraform/{template => templates}/ansible.cfg.tpl | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename terraform/{template => templates}/ansible.cfg.tpl (100%) 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