forked from jmhale/terraform-aws-wireguard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
36 lines (29 loc) · 972 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
30
31
32
33
34
35
variable "ssh_key_id" {
description = "A SSH public key ID to add to the VPN instance."
}
variable "vpc_id" {
description = "The VPC ID in which Terraform will launch the resources."
}
variable "ami_id" {
default = "ami-da05a4a0"
description = "The AMI ID to use."
}
variable "public_subnet_ids" {
type = list(string)
description = "A list of subnets for the Autoscaling Group to use for launching instances. May be a single subnet, but it must be an element in a list."
}
#variable "wg_instance_private_ip" {
# type = string
# description = "Private IP address of the wg instance."
#}
variable "wg_client_public_keys" {
type = list(object({
ip = string
pub_key = string
}))
description = "List of maps of client IPs and public keys. See Usage in README for details."
}
variable "env" {
default = "prod"
description = "The name of environment for WireGuard. Used to differentiate multiple deployments"
}