forked from cloudbees/terraform-aws-cloudbees-ci-eks-addon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
54 lines (46 loc) · 1.48 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright (c) CloudBees, Inc.
variable "helm_config" {
description = "CloudBees CI Helm chart configuration."
type = any
default = {
values = [
<<-EOT
EOT
]
}
}
variable "hosted_zone" {
description = "Amazon Route 53 hosted zone name."
type = string
validation {
condition = trim(var.hosted_zone, " ") != ""
error_message = "Host name must not be an 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 "trial_license" {
description = "CloudBees CI trial license details for evaluation."
type = map(string)
}
variable "create_k8s_secrets" {
description = "Create the Kubernetes cbci-secrets. It can be consumed by CloudBees CasC for the operations center."
default = false
type = bool
}
variable "k8s_secrets" {
description = "Secrets .yml file as a string containing the names:values secrets. It is required when create_k8s_secrets is enabled."
default = "secrets-values.yml"
type = string
}
variable "prometheus_target" {
description = "Creates a service monitor to discover the CloudBees CI Prometheus target dynamically. It is designed to be enabled with the AWS EKS Terraform Addon Kube Prometheus Stack."
default = false
type = bool
}