Skip to content

Commit

Permalink
Merge pull request #1 from orangesys/fixbug
Browse files Browse the repository at this point in the history
fixbug
  • Loading branch information
daisuki-konbini authored Dec 1, 2020
2 parents a0ad339 + ff97f3f commit 52c87c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ resource "aws_cloudfront_distribution" "s3_distribution" {
viewer_protocol_policy = "redirect-to-https"

lambda_function_association {
count = var.lambda_arn != "" ? 1 : 0
event_type = "viewer-request"
lambda_arn = var.lambda_arn
include_body = false
Expand Down

0 comments on commit 52c87c0

Please sign in to comment.