diff --git a/infra/ecs_main_gitlab.tf b/infra/ecs_main_gitlab.tf index 3a9388e..473eb05 100644 --- a/infra/ecs_main_gitlab.tf +++ b/infra/ecs_main_gitlab.tf @@ -955,14 +955,6 @@ data "aws_iam_policy_document" "gitlab_runner" { "${aws_ecr_repository.user_provided.arn}", ] } - - # Allow put object for private packages - statement { - actions = ["s3:PutObject"] - resources = [ - "arn:aws:s3:::${aws_s3_bucket.notebooks.id}/shared/*" - ] - } } resource "aws_iam_policy_attachment" "gitlab_runner" {