feat: gitea now standalone

This commit is contained in:
2025-02-07 16:47:38 -05:00
parent 6ba433d53c
commit 7ae2cd6588
10 changed files with 182 additions and 25 deletions

View File

@@ -6,7 +6,10 @@ data "aws_iam_policy_document" "boot" {
statement {
effect = "Allow"
actions = ["s3:*", "s3-object-lambda:*"]
resources = ["${data.aws_s3_bucket.storage_bucket.arn}/${var.boot_key}"]
resources = [
"${data.aws_s3_bucket.storage_bucket.arn}/${var.boot_key}",
"${data.aws_s3_bucket.storage_bucket.arn}/${var.boot_key}/*",
]
}
}
@@ -22,7 +25,7 @@ module "boot_user" {
version = "5.52.2"
create_iam_user_login_profile = false
name = "${var.boot_role}User"
password_reset_required = false
policy_arns = [aws_iam_policy.boot.arn]
name = "${var.boot_role}User"
password_reset_required = false
policy_arns = [aws_iam_policy.boot.arn]
}