chore(infrastructure): bootstrap CI
All checks were successful
main / test (push) Successful in 48s

This commit is contained in:
Julien Dessaux 2025-04-12 07:56:07 +02:00
parent 441295d140
commit 757343409e
Signed by: adyxax
GPG key ID: F92E51B86E07177E
6 changed files with 96 additions and 0 deletions

View file

@ -0,0 +1,19 @@
locals {
name = "tofu-module-aws-iam-role"
}
module "aws_iam_ci_user" {
providers = {
aws.core = aws.all["core"]
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.0"
name = local.name
tests_policy_statements = jsonencode([{
Action = "iam:*"
Effect = "Allow"
Resource = "arn:aws:iam::*:role/tftest",
}])
}