Skip to content

Commit

Permalink
fix: Updated formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesiarmes committed Dec 4, 2024
1 parent 649a201 commit a45fc51
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ variable "request_policy" {
default = "AllViewer"

validation {
condition = contains([
"AllViewer",
"AllViewerAndCloudFrontHeaders-2022-06",
"AllViewerExceptHostHeader",
"CORS-CustomOrigin",
"CORS-S3Origin",
"Elemental-MediaTailor-PersonalizedManifests",
"UserAgentRefererHeaders"
], var.request_policy)
condition = contains([
"AllViewer",
"AllViewerAndCloudFrontHeaders-2022-06",
"AllViewerExceptHostHeader",
"CORS-CustomOrigin",
"CORS-S3Origin",
"Elemental-MediaTailor-PersonalizedManifests",
"UserAgentRefererHeaders"
], var.request_policy)
error_message = "Invalid request policy. See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html"
}
}
Expand Down

0 comments on commit a45fc51

Please sign in to comment.