From 93f91bbdf5a414f46a04a4e0637a343a41c66df1 Mon Sep 17 00:00:00 2001 From: raphael Date: Wed, 3 Dec 2025 16:41:53 +0100 Subject: [PATCH] maj --- terraform/environments/dev/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/environments/dev/main.tf b/terraform/environments/dev/main.tf index 0d3b6f4..1ad2696 100644 --- a/terraform/environments/dev/main.tf +++ b/terraform/environments/dev/main.tf @@ -52,8 +52,8 @@ module "iam" { # Fichier template Ansible # ------------------------ -data "templatefile" "ansible_cfg" { - template = file("../../template/ansible.cfg.tpl") +data "template" "ansible_cfg" { + template = file("${path.module}/../../template/ansible.cfg.tpl") vars = { frontend_ip = module.compute.frontend_public_ip