-
Notifications
You must be signed in to change notification settings - Fork 15
/
variables.tf
44 lines (37 loc) · 927 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
36
37
38
39
40
41
42
43
44
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
/*
*
* Required Variables
*
*/
variable "hvn" {
type = object({
hvn_id = string
self_link = string
cidr_block = string
})
description = "The HCP HVN to connect to the VPC"
}
variable "vpc_id" {
type = string
description = "The ID of your AWS VPC"
}
variable "subnet_ids" {
type = list(string)
description = "A list of subnet IDs which should route to/from the the HVN's CIDR"
}
variable "route_table_ids" {
type = list(string)
description = "A list of route table IDs which should route to the the HVN's CIDR"
}
/*
*
* Optional Variables
*
*/
variable "security_group_ids" {
type = list(string)
description = "A list of security group IDs which should allow inbound Consul client traffic. If no security groups are provided, one will be generated for use."
default = []
}