Skip to content

Commit

Permalink
fix variable reference typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pricemg committed Jan 25, 2024
1 parent 87f3c09 commit e85209b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions terraform/environments/electronic-monitoring-data/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resource "aws_s3_bucket" "capita_landing_bucket" {

resource "aws_s3_bucket_policy" "capita_landing_bucket_policy" {
bucket = aws_s3_bucket.capita_landing_bucket.id
policy = aws_iam_policy_document.capita_landing_bucket_policy_document.json
policy = data.aws_iam_policy_document.capita_landing_bucket_policy_document.json
}

data "aws_iam_policy_document" "capita_landing_bucket_policy_document" {
Expand All @@ -50,7 +50,6 @@ data "aws_iam_policy_document" "capita_landing_bucket_policy_document" {
variable = "s3:TlsVersion"
values = [1.2]
}

}
}

Expand Down

0 comments on commit e85209b

Please sign in to comment.