forked from cloudfoundry/routing-concourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
91 lines (77 loc) · 2.14 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
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
# GCP provider configuration
variable "project_id" {
type = string
description = "id of the project"
default = "app-runtime-platform-wg"
}
variable "zone" {
type = string
description = "zone where to deploy concouse vm"
default = "europe-west3-a"
}
variable "region" {
type = string
description = "region where to deploy concouse vm"
default = "europe-west3"
}
# DNS configuration
variable "dns_zone" {
type = string
description = "zone for concourse hostname"
default = "arp-cloudfoundry-org"
}
variable "dns_zone_fqdn" {
type = string
description = "FQDN of arp subdomain"
default = "arp.cloudfoundry.org"
}
variable "hostname" {
type = string
description = "hostname in FQDN"
default = "concourse"
}
# VM parameters
variable "disk_size" {
description = "size in GB for concourse volume"
default = 200
}
variable "disk_type" {
description = "disk type for concourse volume"
default = "pd-balanced"
}
variable "data_disk" {
description = "device name for concourse volume"
default = "sdb"
}
variable "vm_size" {
description = "VM type to be used for concourse"
default = "t2d-standard-4"
}
# Provision options
variable "os_ver" {
description = "Deployment image and version"
default = "ubuntu-os-cloud/ubuntu-2204-lts"
}
variable "docker_ver" {
description = "Docker version"
default = "5:27.2.0-1~ubuntu.22.04~jammy"
}
# Ops options
variable "force_new_cert" {
description = "Deletes all previous and existing certs and obtains new one. Letsencrypt limit is 5 new certs per week."
type = bool
default = "false"
}
# Sensitive credentials - need input only on change, otherwise last value re-used
variable "GITHUB_CLIENT_ID" {
description = "Github client ID from oAuth application config in git to allow concourse use git as auth"
type = string
sensitive = true
default = ""
}
variable "GITHUB_CLIENT_SECRET" {
description = "Github client secret from oAuth application config in git to allow concourse use git as auth"
type = string
sensitive = true
default = ""
}