feat(module): add provisioning of the AWS IAM user access key to a Forgejo runner repository's secret and variable

This commit is contained in:
Julien Dessaux 2025-07-09 00:32:50 +02:00
parent 1fcbd151ed
commit 0c27914a7c
Signed by: adyxax
GPG key ID: F92E51B86E07177E
8 changed files with 67 additions and 2 deletions

View file

@ -10,7 +10,7 @@ and continuous integration tasks on AWS.
``` hcl
module "aws_iam_ci_user" {
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"
core_policy_statements = jsonencode([
{
@ -19,6 +19,10 @@ module "aws_iam_ci_user" {
Resource = "*"
}
])
forgejo_repository = {
name = local.name
owner = "adyxax"
}
name = local.name
tests_policy_statements = jsonencode([
{