Skip to content

Commit

Permalink
fix(DMVP-5400): Add response header policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Julieta Aghamyan committed Oct 7, 2024
1 parent 8ed5808 commit 7dfbe12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/cloudfront/distribution.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "aws_cloudfront_distribution" "main" {
cache_policy_id = var.cache_policy_id

dynamic "forwarded_values" {
for_each = var.cache_policy_id == "" ? [] : [var.forwarded_values]
for_each = var.cache_policy_id == "" ? [] : [] # var.forwarded_values]

content {
query_string = forwarded_values.value.query_string
Expand Down Expand Up @@ -96,7 +96,7 @@ resource "aws_cloudfront_distribution" "main" {
cache_policy_id = var.cache_policy_id

dynamic "forwarded_values" {
for_each = var.cache_policy_id == "" ? [] : [var.forwarded_values]
for_each = var.cache_policy_id == "" ? [] : [] # [var.forwarded_values]

content {
query_string = forwarded_values.value.query_string
Expand Down

0 comments on commit 7dfbe12

Please sign in to comment.