Migrate ECR to forgejo container registry

This commit is contained in:
Ian Keane 2026-08-22 17:56:03 -04:00
parent bd1c17b09b
commit bbea068e12
7 changed files with 47 additions and 70 deletions

View file

@ -58,24 +58,3 @@ resource "aws_iam_role_policy" "node_secrets_manager" {
}
# ECR pull access for node (to pull custom images like mcp-auth-proxy)
resource "aws_iam_role_policy" "node_ecr" {
name = "ecr-pull"
role = aws_iam_role.node.id
policy = jsonencode({
Version = "2012-10-17"
Statement = [
{
Effect = "Allow"
Action = [
"ecr:GetDownloadUrlForLayer",
"ecr:BatchGetImage",
"ecr:BatchCheckLayerAvailability",
"ecr:GetAuthorizationToken"
]
Resource = "*"
}
]
})
}