From 271ced85201d57189d6a157f4a6ac35a3265750b Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 11 Jul 2025 09:45:52 +0200 Subject: [PATCH] chore(infrastructure): upgrade tofu-module-aws-iam-ci-user to 1.1.0 --- infrastructure/tofu/.terraform.lock.hcl | 17 +++++++++++++++++ infrastructure/tofu/main.tf | 6 +++++- infrastructure/tofu/providers.tf | 8 ++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/infrastructure/tofu/.terraform.lock.hcl b/infrastructure/tofu/.terraform.lock.hcl index 47c80e0..3c0cd99 100644 --- a/infrastructure/tofu/.terraform.lock.hcl +++ b/infrastructure/tofu/.terraform.lock.hcl @@ -1,6 +1,23 @@ # This file is maintained automatically by "tofu init". # Manual edits may be lost in future updates. +provider "registry.opentofu.org/adyxax/forgejo" { + version = "1.1.0" + constraints = "1.1.0" + hashes = [ + "h1:xa2K1rn2OzQofizev01UBKEgq4WHo3EM5/fiPCxFL/E=", + "zh:0a9fb11ae6b14abca1a5376b3c83182586e8735e67aa863b223737af1edb9802", + "zh:16a86c5a4b394f04ab14992b15ee812daee38c88570a6431a9dd7c0b961c3166", + "zh:2c2f2703fad8d682d74832ea650cb58efbaf7b63e67c57f4344561ab529c81de", + "zh:38326430e210fb899981a5d99b3dd17f0040356ef1879e0a3fe96c9d13d27b4b", + "zh:7757c16957287f8e1cca39d349d5c219fc31ef8ce55b60db9f83099e10cd3a93", + "zh:890df766e9b839623b1f0437355032a3c006226a6c200cd911e15ee1a9014e9f", + "zh:b91bd40d90199ff8c811e241f94931a540d571807743dcd9768625d177c38e29", + "zh:efb6d4c30e3412a727c63af9d04ed4b24dfdde251d18343d62a45ae967e4f6ab", + "zh:f5357ef185a3183f01555371602471aeadc340a16b1f1355e706fedbfd1f9dad", + ] +} + provider "registry.opentofu.org/hashicorp/aws" { version = "6.2.0" constraints = "6.2.0" diff --git a/infrastructure/tofu/main.tf b/infrastructure/tofu/main.tf index 0d11105..973f6bd 100644 --- a/infrastructure/tofu/main.tf +++ b/infrastructure/tofu/main.tf @@ -8,8 +8,12 @@ module "aws_iam_ci_user" { aws.root = aws.all["root"] aws.tests = aws.all["tests"] } - source = "git::ssh://git@git.adyxax.org/adyxax/tofu-module-aws-iam-ci-user?depth=1&ref=1.0.1" + source = "git::ssh://git@git.adyxax.org/adyxax/tofu-module-aws-iam-ci-user?depth=1&ref=1.1.0" + forgejo_repository = { + name = local.name + owner = "adyxax" + } name = local.name tests_policy_statements = jsonencode([{ Action = "iam:*" diff --git a/infrastructure/tofu/providers.tf b/infrastructure/tofu/providers.tf index 0c0d865..a312874 100644 --- a/infrastructure/tofu/providers.tf +++ b/infrastructure/tofu/providers.tf @@ -11,6 +11,10 @@ terraform { source = "hashicorp/aws" version = "6.2.0" } + forgejo = { + source = "adyxax/forgejo" + version = "1.1.0" + } } } @@ -22,3 +26,7 @@ provider "aws" { profile = each.key region = "eu-west-3" } + +provider "forgejo" { + base_uri = "https://git.adyxax.org/" +}