From 3be1738e040a1b3b472f62985c37e2125de037a9 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 12 Apr 2025 08:29:44 +0200 Subject: [PATCH] chore(infrastructure): rename test role to avoid collision with tofu-module-aws-iam-ci-user --- infrastructure/tofu/main.tf | 2 +- main.tftest.hcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/tofu/main.tf b/infrastructure/tofu/main.tf index 8b5d943..0d11105 100644 --- a/infrastructure/tofu/main.tf +++ b/infrastructure/tofu/main.tf @@ -14,6 +14,6 @@ module "aws_iam_ci_user" { tests_policy_statements = jsonencode([{ Action = "iam:*" Effect = "Allow" - Resource = "arn:aws:iam::*:role/tftest", + Resource = "arn:aws:iam::*:role/tftest-role", }]) } diff --git a/main.tftest.hcl b/main.tftest.hcl index c21db0b..68f4c3b 100644 --- a/main.tftest.hcl +++ b/main.tftest.hcl @@ -11,5 +11,5 @@ run "main" { } variables { - name = "tftest" + name = "tftest-role" }