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:
parent
1fcbd151ed
commit
0c27914a7c
8 changed files with 67 additions and 2 deletions
|
@ -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([
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue