From 02952870340fe6995fc46d8b1fdb34d576ecdb9c Mon Sep 17 00:00:00 2001 From: jonahjon Date: Thu, 3 Jun 2021 11:40:10 -0500 Subject: [PATCH] unblocking CI attempt Signed-off-by: jonahjon --- config/clusters/storage.tf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/clusters/storage.tf b/config/clusters/storage.tf index 4ab53a84bb7..90b04506682 100644 --- a/config/clusters/storage.tf +++ b/config/clusters/storage.tf @@ -1,6 +1,7 @@ resource "aws_s3_bucket" "prow_storage" { bucket = "falco-prow-logs" + policy = data.aws_iam_policy_document.prow_storage.json acl = "private" lifecycle_rule { @@ -43,11 +44,6 @@ resource "aws_kms_key" "prow_storage" { enable_key_rotation = true } -resource "aws_s3_bucket_policy" "prow_storage" { - bucket = aws_s3_bucket.prow_storage.id - policy = data.aws_iam_policy_document.prow_storage.json -} - data "aws_iam_policy_document" "prow_storage" { statement { sid = "AllowProwAllToS3Storage"