OpenTofu module to manage continuous integration users on AWS.
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| infrastructure/tofu | ||
| .gitignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| main.tf | ||
| outputs.tf | ||
| providers.tf | ||
| README.md | ||
| variables.tf | ||
AWS IAM CI user
This module creates and manages an IAM user in a root AWS account and its corresponding roles in sub-accounts.
It provides a default set of policies allowing my Forgejo workflows to run tests and continuous integration tasks on AWS.
Usage example
module "aws_iam_ci_user" {
source = "git::ssh://git@git.adyxax.org/adyxax/tofu-module-aws-iam-ci-user?depth=1&ref=1.1.0"
core_policy_statements = jsonencode([
{
Action = "route53:*"
Effect = "Allow"
Resource = "*"
}
])
forgejo_repository = {
name = local.name
owner = "adyxax"
}
tests_policy_statements = jsonencode([
{
Action = "acm:*"
Effect = "Allow"
Resource = "*"
},
])
}