Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhpalp committed Apr 23, 2024
1 parent f782202 commit c159ddd
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions terraform/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ resource "aws_cloudfront_distribution" "wfnews_geofencing_client" {
default_ttl = 300
max_ttl = 86400

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id
}

ordered_cache_behavior {
Expand Down Expand Up @@ -219,7 +219,7 @@ resource "aws_cloudfront_distribution" "wfnews_geofencing_server" {
}
}

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id

viewer_protocol_policy = "redirect-to-https"
min_ttl = 0
Expand Down Expand Up @@ -327,7 +327,7 @@ resource "aws_cloudfront_distribution" "wfnews_geofencing_nginx" {
}
}

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id

viewer_protocol_policy = "redirect-to-https"
min_ttl = 0
Expand All @@ -344,7 +344,7 @@ resource "aws_cloudfront_distribution" "wfnews_geofencing_nginx" {
viewer_protocol_policy = "redirect-to-https"
cache_policy_id = "658327ea-f89d-4fab-a63d-7e88639e58f6"

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id
}

ordered_cache_behavior {
Expand Down Expand Up @@ -447,7 +447,7 @@ resource "aws_cloudfront_distribution" "wfnews_geofencing_gov_client" {
}
}

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id

viewer_protocol_policy = "redirect-to-https"
min_ttl = 0
Expand Down Expand Up @@ -545,7 +545,7 @@ resource "aws_cloudfront_distribution" "wfnews_geofencing_gov_api" {

target_origin_id = "wfnews_nginx_gov_${var.target_env}"

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id

forwarded_values {
query_string = true
Expand Down Expand Up @@ -661,7 +661,7 @@ resource "aws_cloudfront_distribution" "wfss_pointid_api" {

target_origin_id = "wfss_pointid_api_${var.target_env}"

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id

forwarded_values {
query_string = true
Expand Down Expand Up @@ -760,7 +760,7 @@ resource "aws_cloudfront_distribution" "wfone_notifications_api" {

target_origin_id = "wfone_notifications_api_${var.target_env}"

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id

forwarded_values {
query_string = true
Expand Down Expand Up @@ -848,7 +848,7 @@ resource "aws_cloudfront_distribution" "wfnews_redirect_receiver" {
}
}

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id

viewer_protocol_policy = "redirect-to-https"
min_ttl = 0
Expand Down Expand Up @@ -917,7 +917,7 @@ resource "aws_cloudfront_distribution" "wfnews_openmaps_cache" {
}
}

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id

viewer_protocol_policy = "redirect-to-https"
min_ttl = 0
Expand Down Expand Up @@ -986,7 +986,7 @@ resource "aws_cloudfront_distribution" "wfnews_services6_cache" {
}
}

response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_reponse_headers.id
response_headers_policy_id = aws_cloudfront_response_headers_policy.cache_control_response_headers.id

viewer_protocol_policy = "redirect-to-https"
min_ttl = 0
Expand Down Expand Up @@ -1023,7 +1023,7 @@ output "wfnews_cloudfront_nginx_url" {
value = "https://${aws_cloudfront_distribution.wfnews_geofencing_nginx[0].domain_name}"
}

resource "aws_cloudfront_response_headers_policy" "cache_control_reponse_headers" {
resource "aws_cloudfront_response_headers_policy" "cache_control_response_headers" {
name = "cache-control-response-headers-${var.target_env}"
cors_config {
access_control_allow_credentials = false
Expand Down

0 comments on commit c159ddd

Please sign in to comment.