-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
44 lines (35 loc) · 1.01 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
variable "prefix" {
description = <<-EOT
Prefix for all resources created by this configuration. Use an
abbreviation of your name. For example, 'jdoe' for John Doe.
EOT
type = string
default = "user"
}
variable "aws_region" {
description = "AWS region to launch servers in."
type = string
default = "eu-central-1" # Frankfurt (Germany)
}
# region suffix (appended behind aws_region)
variable "aws_zone" {
description = "AWS zone to launch servers in."
type = string
default = "a"
}
variable "accessible_from" {
description = <<-EOT
A list of networks from which the entire deployment will be accessible,
specified in CIDR format.
EOT
type = list(string)
default = null
}
variable "ssh_public_key_path" {
description = <<-EOT
Path to the SSH public key to be used for authentication. Ensure this
keypair is added to your local SSH agent so provisioners can connect.
EOT
type = string
default = "./ssh/key.pub"
}