-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
37 lines (32 loc) · 939 Bytes
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) CloudBees, Inc.
variable "helm_config" {
description = "CloudBees CD/RO Helm chart configuration."
type = any
default = {
values = [
<<-EOT
EOT
]
}
}
variable "host_name" {
description = "Amazon Route 53 hosted zone name."
type = string
validation {
condition = trim(var.host_name, " ") != ""
error_message = "Host name must not be en empty string."
}
}
variable "cert_arn" {
description = "AWS Certificate Manager (ACM) certificate for Amazon Resource Names (ARN)."
type = string
validation {
condition = can(regex("^arn", var.cert_arn))
error_message = "The cert_arn should start with arn."
}
}
variable "flow_db_secrets_file" {
description = "Secrets file .yml path that contains the secrets names:values to create the Kubernetes secret flow_db_secret."
default = "flow_db_secrets-values.yml"
type = string
}