Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoyal16 committed Sep 18, 2024
1 parent 01f64d9 commit e20e69f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ resource "aws_elasticache_cluster" "default" {
az_mode = var.az_mode
availability_zone = var.availability_zone
preferred_availability_zones = var.availability_zones
network_type = var.network_type
tags = module.this.tags
}

Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ variable "subnets" {
description = "AWS subnet ids"
}

variable "network_type" {
type = string
default = "ipv4"
description = "The network type of the cluster. Valid values: ipv4, ipv6, dual_stack."
}

variable "maintenance_window" {
type = string
default = "wed:03:00-wed:04:00"
Expand Down

0 comments on commit e20e69f

Please sign in to comment.