Create IPv6 and dual stack enos tests (#5212)
Co-authored-by: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com> Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com>
This commit is contained in:
59 files changed
+1773
-301
No files matched your search
@@ -71,6 +71,12 @@ variable "environment" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "deploy" {
|
||||
description = "Flag to toggle whether or not all the resources defined in this module should be deployed."
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "instance_count" {
|
||||
description = "Number of EC2 instances in each subnet"
|
||||
type = number
|
||||
@@ -101,7 +107,13 @@ variable "project_name" {
|
||||
}
|
||||
|
||||
variable "sg_additional_ips" {
|
||||
description = "A list of additional IPs to allow by Vault security groups (use with caution)"
|
||||
description = "A list of additional IPv4 IPs to allow by Vault security groups (use with caution)"
|
||||
type = list(string)
|
||||
default = []
|
||||
}
|
||||
|
||||
variable "sg_additional_ipv6_ips" {
|
||||
description = "A list of additional IPv6 IPs to allow by Vault security groups (use with caution)"
|
||||
type = list(string)
|
||||
default = []
|
||||
}
|
||||
@@ -253,3 +265,14 @@ variable "enable_file_audit_device" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "ip_version" {
|
||||
type = string
|
||||
description = "Optional variable that configures the vault instance to run on a ipv4, ipv6, or dualstack network"
|
||||
default = "4"
|
||||
|
||||
validation {
|
||||
condition = contains(["4", "6", "dual"], var.ip_version)
|
||||
error_message = "Valid values for ip_version are (4, 6, dual)."
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user