Skip to content

Commit

Permalink
Merge pull request #11 from sbp-akamai/tls_policy_requirement
Browse files Browse the repository at this point in the history
update add policy condition
  • Loading branch information
kapas2004 authored Oct 17, 2024
2 parents 64118c9 + e3aba4b commit 5c8fc47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ variable "tls_security_policy" {
default = "Policy-Min-TLS-1-2-2019-07"

validation {
condition = can(regex("^Policy-Min-TLS-1-0-2019-07|Policy-Min-TLS-1-2-2019-07$", var.tls_security_policy))
error_message = "TLS security policy should be 'Policy-Min-TLS-1-0-2019-07' or 'Policy-Min-TLS-1-2-2019-07'."
condition = can(regex("^Policy-Min-TLS-1-0-2019-07|Policy-Min-TLS-1-2-2019-07|Policy-Min-TLS-1-2-PFS-2023-10$", var.tls_security_policy))
error_message = "TLS security policy should be 'Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07, Policy-Min-TLS-1-2-PFS-2023-10'."
}
}

Expand Down

0 comments on commit 5c8fc47

Please sign in to comment.