forked from apatilgtn/liquibase-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
75 lines (61 loc) · 1.71 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
variable "location" {
type = string
description = <<-EOF
(Optional) The Azure location to create the resources
[Default: australiaeast]
EOF
default = "australiaeast"
}
variable "environment" {
type = string
description = <<-EOF
(Optional) The environment where the resources will be created, as an acronym.
Possible values:
- "dev"
- "stage"
- "prod"
[Default: dev]
EOF
default = "dev"
validation {
condition = can(regex("dev|stage|prod", var.environment))
error_message = "This must be an acronym of the environment."
}
}
variable "project" {
type = string
description = "(Required) The project name"
}
variable "network_range" {
type = string
description = "(Optional) The network range to use for the virtual network"
default = "10.0.0.0/24"
}
variable "runner_size" {
type = string
description = "(Optional) The size of the runner VM"
default = "Standard_DS1_v2"
}
variable "image_urn" {
type = string
description = "(Optional) The image URN to use for the runner VM"
default = "Canonical:UbuntuServer:18.04-LTS:latest"
}
variable "runner_token" {
type = string
description = "(Required) The Github actions self-hosted runner registration token"
}
variable "runner_version" {
type = string
description = "(Optional) The version of the runner to use"
default = "2.280.3"
}
variable "runner_group_name" {
type = string
description = "(Required) The name of the group to use for the runner"
}
variable "github_organisation" {
type = string
description = "(Required) The Github organisation to use"
}
/*azure*/