You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="Short form identifier for this stack. This value is used to create the 'Name' resource tag for resources created by this stack item, and also serves as a unique key for re-use."
5
7
}
6
8
7
-
variable"stack_item_fullname" {}
9
+
variable"stack_item_fullname" {
10
+
type="string"
11
+
description="Long form descriptive name for this stack item. This value is used to create the 'application' resource tag for resources created by this stack item."
12
+
}
8
13
9
-
variable"stack_item_label" {}
14
+
## VPC parameters
10
15
11
-
#
12
-
# 0 - if instance is a standalone instance outside a VPC
13
-
# 1 - if instance is in a vpc
14
-
#
16
+
###
17
+
### 0 - if instance is a standalone instance outside a VPC
18
+
### 1 - if instance is in a vpc
19
+
###
15
20
variable"in_vpc" {
16
-
default=0
21
+
type="string"
22
+
description="Flag for associating the cluster with a VPC."
23
+
default=1
17
24
}
18
25
19
26
variable"vpc_id" {
20
-
default=""
27
+
type="string"
28
+
description="ID of the target VPC."
21
29
}
22
30
23
-
variable"security_groups" {
24
-
default=""
31
+
variable"region" {
32
+
type="string"
33
+
description="AWS region to be utilized."
25
34
}
26
35
27
-
# Which subnet the vpn servers will run in.
28
36
variable"subnets" {
29
-
default=""
37
+
type="string"
38
+
description="List of VPC subnets to associate with the cluster."
30
39
}
31
40
32
-
# TODO: expects 4 subnets to map as internal network routes.
33
-
# Fix the magic # problem
34
-
variable"route_cidrs" {
35
-
default=""
41
+
## OpenVPN parameters
42
+
variable"ami" {
43
+
type="string"
44
+
description="Amazon Machine Image (AMI) to associate with the launch configuration."
36
45
}
37
46
38
-
variable"key_name" {}
39
-
40
-
#
41
-
# m3.medium - if instance is a standalone instance outside a VPC
42
-
# t2.small - if instance is in a vpc
43
-
#
44
-
variable"instance_type" {}
45
-
46
-
variable"region" {}
47
-
48
-
variable"release" {
49
-
default="0.0.2"
47
+
variable"instance_type" {
48
+
type="string"
49
+
description="EC2 instance type to associate with the launch configuration."
50
+
default="t2.small"
50
51
}
51
52
52
-
variable"role" {
53
-
default="vpn_server"
53
+
variable"key_name" {
54
+
type="string"
55
+
description="SSH key pair to associate with the launch configuration."
54
56
}
55
57
56
-
# Do not include the trailing slash
57
-
variable"s3_path" {}
58
+
### TODO: expects 4 subnets to map as internal network routes.
59
+
### Fix the magic # problem
60
+
variable"route_cidrs" {
61
+
type="string"
62
+
description="Routes for the VPN server to expose"
63
+
}
58
64
59
-
variable"s3_bucket" {}
65
+
variable"s3_bucket" {
66
+
type="string"
67
+
description="The S3 bucket where certificate and configuration are stored."
68
+
}
60
69
61
-
variable"sns_topic_arn" {}
70
+
### Do not include the trailing slash
71
+
variable"s3_bucket_prefix" {
72
+
type="string"
73
+
description="The S3 bucket prefix. Certificates and configuration will be sourced from the root if not configured."
74
+
default=""
75
+
}
62
76
63
-
# From AWS limits, max rules for an SG is ~50
64
77
variable"cidr_whitelist" {
65
-
default="0.0.0.0/0"
78
+
type="string"
79
+
description="Limit access to the designated list of CIDRs"
0 commit comments