Skip to content

Commit

Permalink
Merge pull request #325 from futurice/fix-replication-role
Browse files Browse the repository at this point in the history
fix permission for log replication
  • Loading branch information
Sunil Kumar Mohanty committed Aug 6, 2020
2 parents 614e628 + aa1b41b commit ba32f2d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions infra/logging.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ resource "aws_iam_policy" "replication" {
{
"Action": [
"s3:GetObjectVersion",
"s3:GetObjectVersionAcl"
"s3:GetObjectVersionAcl",
"s3:GetObjectVersionTagging"
],
"Effect": "Allow",
"Resource": [
Expand All @@ -85,7 +86,9 @@ resource "aws_iam_policy" "replication" {
{
"Action": [
"s3:ReplicateObject",
"s3:ReplicateDelete"
"s3:ReplicateDelete",
"s3:ReplicateTags",
"s3:ObjectOwnerOverrideToBucketOwner"
],
"Effect": "Allow",
"Resource": "${var.central_log_vault_arn}/*"
Expand Down

0 comments on commit ba32f2d

Please sign in to comment.