-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
29 lines (25 loc) · 856 Bytes
/
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
variable "ec2_instance_connect" {
type = bool
default = false
description = "Keep SSH (port 22) open to allow connections via EC2 Instance Connect."
}
variable "download_url" {
type = string
default = "https://piston-data.mojang.com/v1/objects/c9df48efed58511cdd0213c56b9013a7b5c9ac1f/server.jar"
description = "Minecraft server download URL"
}
variable "instance_type" {
type = string
default = "t2.medium"
description = "The EC2 instance type of the server. Requires at least t2.medium."
}
variable "region" {
type = string
default = "eu-west-2"
description = "AWS region to deploy to"
}
variable "static_ip" {
type = bool
default = false
description = "Should the instance retain its IPv4 address after being stopped? Charges apply while the server is stopped."
}