Skip to content

Commit

Permalink
Merge pull request #2 from egarbi/feature/adds_web_acl_id
Browse files Browse the repository at this point in the history
Feature/adds web acl
  • Loading branch information
egarbi authored Apr 18, 2018
2 parents ceb8fce + 4aa08a5 commit 0aa0412
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ resource "aws_cloudfront_distribution" "s3_distribution" {
s3_origin_config {
origin_access_identity = "${aws_cloudfront_origin_access_identity.origin_access_identity.cloudfront_access_identity_path}"
}

}

enabled = true
Expand Down Expand Up @@ -59,4 +58,6 @@ resource "aws_cloudfront_distribution" "s3_distribution" {
response_code = "${var.error_response_code}"
response_page_path = "${var.error_response_pagepath}"
}

web_acl_id = "${var.web_acl_id}"
}
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ variable "error_response_code" {
variable "error_response_pagepath" {
default = "/404.html"
}

variable "web_acl_id" {
default = ""
}

0 comments on commit 0aa0412

Please sign in to comment.