Skip to content

Commit

Permalink
Added statement to allow control panel to write CSV to feedback bucket (
Browse files Browse the repository at this point in the history
#6275)

* Added statement to allow control panel to write CSV to feedback bucket

* changed resource name
  • Loading branch information
jamesstottmoj authored Dec 11, 2024
1 parent f107ee8 commit 84da37c
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 84da37c

Please sign in to comment.