diff --git a/terraform/aws/analytical-platform-development/cluster/iam-policies.tf b/terraform/aws/analytical-platform-development/cluster/iam-policies.tf index 56c7e798cf..2e466930a4 100644 --- a/terraform/aws/analytical-platform-development/cluster/iam-policies.tf +++ b/terraform/aws/analytical-platform-development/cluster/iam-policies.tf @@ -534,6 +534,16 @@ data "aws_iam_policy_document" "control_panel_api" { "arn:aws:iam::${var.account_ids["analytical-platform-compute-test"]}:role/analytical-platform-control-panel" ] } + statement { + sid = "WriteToFeedbackBucket" + effect = "Allow" + actions = [ + "s3:PutObject" + ] + resources = [ + "arn:aws:s3:::${var.resource_prefix}-ap-feedback/*" + ] + } } resource "aws_iam_policy" "control_panel_api" {