Skip to content

Commit

Permalink
Merge pull request #4 from asicsdigital/casper-add-ignore-changes
Browse files Browse the repository at this point in the history
add ignore changes
  • Loading branch information
Falpangaea authored May 1, 2021
2 parents e114c1d + 1de42be commit 43db407
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "aws_cloudfront_distribution" "cf_distribution" {
origin_id = o.origin_id
origin_path = o.origin_path
origin_access_identity = o.origin_access_identity
}, try({custom_headers = o.custom_headers}, {}))]
}, try({ custom_headers = o.custom_headers }, {}))]
content {
domain_name = origin.value.domain_name
origin_id = origin.value.origin_id
Expand Down Expand Up @@ -205,4 +205,8 @@ resource "aws_cloudfront_distribution" "cf_distribution" {
web_acl_id = var.waf_web_acl_id

tags = var.tags

lifecycle {
ignore_changes = [default_cache_behavior[0].lambda_function_association, web_acl_id]
}
}

0 comments on commit 43db407

Please sign in to comment.