-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathvariables.tf
More file actions
98 lines (84 loc) · 3.37 KB
/
variables.tf
File metadata and controls
98 lines (84 loc) · 3.37 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Copyright IBM Corp. 2021, 2025
# SPDX-License-Identifier: MPL-2.0
# General
# -------
variable "cloud" {
default = null
type = string
description = "(Required) On which cloud is this Terraform Enterprise installation being deployed?"
validation {
condition = contains(["aws", "azurerm", "google"], var.cloud)
error_message = "Supported values for cloud are 'aws', 'azurerm', or 'google'."
}
}
variable "distribution" {
default = null
type = string
description = "(Required) What is the OS distribution of the instance on which Terraoform Enterprise will be deployed?"
validation {
condition = contains(["rhel", "ubuntu", "amazon-linux-2023"], var.distribution)
error_message = "Supported values for distribution are 'rhel', 'ubuntu' or amazon-linux-2023."
}
}
variable "tfe_license_secret_id" {
default = null
type = string
description = "The secrets manager secret ID under which the Base64 encoded Terraform Enterprise license is stored. NOTE: If this is an airgapped installation, then it is expected that the TFE license will be put on the path defined by tfe_license_file_location prior to running this module (i.e. on the virtual machine image)."
}
variable "airgap_url" {
default = null
description = "The URL of a Replicated airgap package for Terraform Enterprise. NOTE: If this value is given, then this script will install the airgap installation prerequisites. The airgap bundle should already be on the virtual machine image, and you would not use this variable if this were a truly airgapped environment."
type = string
}
variable "ca_certificate_secret_id" {
default = null
type = string
description = "A secret ID which contains the Base64 encoded version of a PEM encoded public certificate of a certificate authority (CA) to be trusted by the TFE instance(s)."
}
variable "certificate_secret_id" {
default = null
type = string
description = "A secret ID which contains the Base64 encoded version of a PEM encoded public certificate for the TFE instance(s)."
}
variable "key_secret_id" {
default = null
type = string
description = "A secret ID which contains the Base64 encoded version of a PEM encoded private key for the TFE instance(s)."
}
# Proxy
# -----
variable "proxy_ip" {
default = null
type = string
description = "IP Address of the proxy server"
}
variable "proxy_port" {
default = null
type = string
description = "Port that the proxy server will use"
}
variable "tfe_configuration" {
default = null
description = "The settings that will be used to configure Terraform Enterprise."
}
variable "enable_monitoring" {
default = null
type = bool
description = "Should cloud appropriate monitoring agents be installed as a part of the TFE installation script?"
}
# Mounted Disk
# ------------
variable "disk_device_name" {
default = null
description = "The name of the disk device on which Terraform Enterprise will store data in Mounted Disk mode."
type = string
}
variable "disk_path" {
default = null
description = "The pathname of the directory in which Terraform Enterprise will store data in Mounted Disk mode."
type = string
}
variable "replicated_configuration" {
default = null
description = "The settings that will be used to configure Replicated."
}