Skip to content

Commit

Permalink
feat: fixed create issue (#65)
Browse files Browse the repository at this point in the history
Co-authored-by: anmolnagpal <[email protected]>
  • Loading branch information
theprashantyadav and anmolnagpal authored Jan 16, 2024
1 parent ae4e47a commit 78ef6ce
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _example/memcached/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 1.6.2"
required_version = ">= 1.6.5"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 5.22.0"
version = ">= 5.31.0"
}
}
}
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ resource "aws_elasticache_replication_group" "cluster" {
kms_key_id = var.kms_key_id == "" ? join("", aws_kms_key.default[*].arn) : var.kms_key_id
tags = module.labels.tags
num_cache_clusters = var.num_cache_clusters
user_group_ids = var.user_group_ids

dynamic "log_delivery_configuration" {
for_each = var.log_delivery_configuration
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ variable "port" {
sensitive = true
}

variable "user_group_ids" {
type = list(string)
default = [""]
description = "User Group ID to associate with the replication group."
}

variable "node_type" {
type = string
default = "cache.t2.small"
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Terraform version
terraform {
required_version = ">= 1.6.6"
required_version = ">= 1.6.5"

required_providers {
aws = {
Expand Down

0 comments on commit 78ef6ce

Please sign in to comment.