Skip to content

Commit

Permalink
fix policies
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 17, 2021
1 parent e65e2f4 commit 803de86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions common/kms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,4 @@ data "aws_iam_policy_document" "key_policy_combined" {
]
}

data "aws_iam_policy_document" "bucket_policy_combined" {
source_policy_documents = [
data.aws_iam_policy_document.this.json,
local.bucket_policy_document
]
}

data "aws_iam_policy_document" "empty" {}
7 changes: 7 additions & 0 deletions common/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,10 @@ resource "aws_s3_bucket_object" "this_objects" {
depends_on = [null_resource.policy_delay]
}

data "aws_iam_policy_document" "bucket_policy_combined" {
source_policy_documents = [
data.aws_iam_policy_document.this.json,
local.bucket_policy_document
]
}

0 comments on commit 803de86

Please sign in to comment.