Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ad869 committed Mar 16, 2021
1 parent 0f56dcf commit 185b545
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ resource "aws_cloudfront_distribution" "s3_distribution" {
enabled = true
is_ipv6_enabled = true
default_root_object = "index.html"
web_acl_id = var.web_acl_id

# logging_config {
# include_cookies = false
Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,9 @@ variable "acm_certificate_arn" {
type = string
}

variable "web_acl_id" {
description = "A unique identifier that specifies the AWS WAF web ACL, if any, to associate with this distribution."
type = string
}


0 comments on commit 185b545

Please sign in to comment.