This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.tf
78 lines (61 loc) · 1.56 KB
/
vars.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
variable "name" {
description = "Name of Bastion"
}
variable "s3_bucket_namespace" {
description = "The namespace to append to the bucket name in an attempt to make it globally unique"
}
variable "instance_type" {
default = "t3.nano"
}
variable "acl" {
description = "The canned ACL to apply. Defaults to 'private'"
default = "private"
}
variable "user_data_file" {
default = "user_data.sh"
}
variable "s3_bucket_name" {
default = "bastion-keys"
}
variable "s3_bucket_uri" {
default = ""
}
variable "ssh_user" {
default = "ubuntu"
}
variable "enable_hourly_cron_updates" {
default = "false"
}
variable "keys_update_frequency" {
default = "5,20,35,50 * * * *"
}
variable "additional_user_data_script" {
default = ""
}
variable "ingress_source_cidrs" {
description = "A list of source cidr ranges to allow connection to the bastion"
type = list(string)
default = ["0.0.0.0/0"]
}
variable "vpc_id" {
description = "ID of the VPC for bastion resources"
}
variable "subnet_ids" {
description = "A list of subnet ids for bastion resources"
type = list(string)
}
variable "keys_to_prime" {
description = "A list of public key files to upload. Must be in the keys directory"
type = list(string)
default = []
}
variable "asg_tags" {
description = "Specific tags to add to the ASG - Should include `propagate = true` key"
type = list(map(string))
default = []
}
variable "tags" {
description = "Tags to add to all bastion resources - except the ASG"
type = map(string)
default = {}
}