Skip to content

Commit

Permalink
Wfnews 1116 (#718)
Browse files Browse the repository at this point in the history
* Updated runner used in github actions

* Increased sensitivity of alarm triggering horizontal scaling

* Remove prod geofencing
  • Loading branch information
vivid-cpreston authored May 17, 2023
1 parent 45f926d commit 9b35383
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions terraform/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -516,12 +516,8 @@ resource "aws_cloudfront_distribution" "wfnews_geofencing_gov_api" {

restrictions {
geo_restriction {
restriction_type = "whitelist"
locations = [
"CA",
"US",
"AR"
]
restriction_type = var.target_env = "prod" ? "blacklist" : "whitelist"
locations = var.target_env = "prod" ? [] : ["CA","US","AR"]
}
}

Expand Down

0 comments on commit 9b35383

Please sign in to comment.