-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathvariables.tf
More file actions
67 lines (56 loc) · 1.49 KB
/
variables.tf
File metadata and controls
67 lines (56 loc) · 1.49 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
# Variables for AWS infrastructure module
# Required
variable "aws_access_key" {
type = string
description = "AWS access key used to create infrastructure"
}
# Required
variable "aws_secret_key" {
type = string
description = "AWS secret key used to create AWS infrastructure"
}
variable "aws_region" {
type = string
description = "AWS region used for all resources"
default = "us-east-1"
}
variable "prefix" {
type = string
description = "Prefix added to names of all resources"
default = "lab"
}
variable "tag_owner" {
type = string
description = "Owner for the resource (as tag)"
default = "demo"
}
variable "linux_instance_type" {
type = string
description = "Instance type used for all EC2 instances"
default = "t3a.large"
}
variable "windows_instance_type" {
type = string
description = "Instance type used for all EC2 windows instances"
default = "t3a.xlarge"
}
variable "rancher_version" {
type = string
description = "Rancher server version (format: v0.0.0)"
default = "v2.6.3"
}
variable "cert_manager_version" {
type = string
description = "Version of cert-manager to install alongside Rancher (format: 0.0.0)"
default = "1.5.3"
}
# Required
variable "add_windows_node" {
type = bool
description = "Add a windows node to the workload cluster"
default = false
}
# Local variables used to reduce repetition
locals {
node_username = "ec2-user"
}