Skip to content

Commit

Permalink
add ignore changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Falpangaea committed Apr 30, 2021
1 parent e114c1d commit 1de42be
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 1de42be

Please sign in to comment.