description="Flag to enable/disable creation of Security Group in the module. Set to `true` to disable Security Group creation and provide a list of existing security Group IDs in `existing_security_groups` to place the cluster into"
description="VPC ID"
default=false
}
}
variable"existing_security_groups"{
variable"subnets"{
type=list(string)
type=list(string)
description="Subnet IDs"
default=[]
default=[]
description="List of existing Security Group IDs to place the cluster into. Set `use_existing_security_groups` to `true` to enable using `existing_security_groups` as Security Groups for the cluster"
}
}
variable"allowed_security_groups"{
variable"security_group_enabled"{
type=list(string)
type=bool
default=[]
description="Whether to create default Security Group for ElastiCache."
description="List of Security Group IDs that are allowed ingress to the cluster's Security Group created in the module"
default=true
}
}
variable"security_group_description"{
variable"security_group_description"{
type=string
type=string
description="The description for the security group. If this is changed, this will cause a create/destroy on the security group resource. Set this to `null` to maintain parity with releases <= `0.34.0`."
default="ElastiCache Security Group"
default="Security group for Elasticache Redis"
description="The Security Group description."
}
}
variable"allowed_cidr_blocks"{
variable"security_group_use_name_prefix"{
type=list(string)
type=bool
default=[]
default=false
description="List of CIDR blocks that are allowed ingress to the cluster's Security Group created in the module"
description="Whether to create a default Security Group with unique name beginning with the normalized prefix."
}
}
variable"vpc_id"{
variable"security_group_rules"{
type=string
type=list(any)
description="VPC ID"
default=[
}
{
type="egress"
variable"subnets"{
from_port=0
to_port=65535
protocol="-1"
cidr_blocks=["0.0.0.0/0"]
description="Allow all outbound traffic"
}
]
description=<<-EOT
A list of maps of Security Group rules.
The values of map is fully complated with `aws_security_group_rule` resource.
To get more info see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule .
EOT
}
variable"security_groups"{
description="A list of Security Group IDs to associate with ElastiCache."
type=list(string)
type=list(string)
description="Subnet IDs"
default=[]
default=[]
}
}
...
@@ -193,7 +206,6 @@ variable "snapshot_arns" {
...
@@ -193,7 +206,6 @@ variable "snapshot_arns" {
default=[]
default=[]
}
}
variable"snapshot_name"{
variable"snapshot_name"{
type=string
type=string
description="The name of a snapshot from which to restore data into the new node group. Changing the snapshot_name forces a new resource."
description="The name of a snapshot from which to restore data into the new node group. Changing the snapshot_name forces a new resource."