-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
60 lines (49 loc) · 1.12 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
variable "region" {
type = string
default = "us-east-1"
}
variable "ec2_count" {
type = number
description = "number of EC2 instances for multiple VPN servers"
default = 1
}
variable "profile" {
type = string
default = "outline_profile"
}
variable "public_key_path" {
type = string
default = "~/.ssh/id_rsa.pub"
}
variable "vpc_cidr_block" {
type = string
default = "10.0.0.0/16"
}
variable "subnet_cidr_block" {
type = string
default = "10.0.1.0/24"
}
variable "security_group_name_prefix" {
description = "Prefix for the name of the security group"
default = "terra_"
}
variable "instance_ami" {
default = "ami-0557a15b87f6559cf"
}
variable "instance_type" {
default = "t2.micro"
}
variable "user_data_script" {
default = <<-EOF
#!/bin/bash
yes | bash -c "$(wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh)"
EOF
}
variable "ssh_user" {
type = string
default = "ubuntu"
}
variable "ssh_key_path" {
type = string
default = "~/.ssh/id_rsa"
}