Skip to content

Commit

Permalink
Use locations rather than whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomdango committed Jul 14, 2023
1 parent e22d5fd commit e7d5f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/opennext-cloudfront/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ resource "aws_cloudfront_distribution" "distribution" {
restrictions {
geo_restriction {
restriction_type = var.geo_restriction.restriction_type
locations = var.geo_restriction.whitelist
locations = var.geo_restriction.locations
}
}

Expand Down

0 comments on commit e7d5f19

Please sign in to comment.