generated from clowdhaus/terraform-aws-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
Description
Hello, the automatic_failover_enabled
setting keeps updating to true, even though it's already set to true.
This issue also affects the latest provider version too ( 1.6.2 )
module "elasticache" {
source = "terraform-aws-modules/elasticache/aws"
version = "1.6.0"
cluster_id = var.environment
replication_group_id = var.environment
create_replication_group = true
create_security_group = false
subnet_ids = module.vpc.database_subnets
security_group_ids = [module.redis_sg.security_group_id]
engine_version = "6.0"
node_type = "cache.t4g.micro"
maintenance_window = var.maintainance_window
snapshot_window = var.backup_window
multi_az_enabled = true
automatic_failover_enabled = true
az_mode = "cross-az"
num_cache_clusters = 2
}
Here is the output of terraform plan:
# module.elasticache.aws_elasticache_replication_group.this[0] will be updated in-place
~ resource "aws_elasticache_replication_group" "this" {
~ automatic_failover_enabled = false -> true
id = "prod"
tags = {
"terraform-aws-modules" = "elasticache"
}
# (37 unchanged attributes hidden)
# (1 unchanged block hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
- ✋ I have searched the open/closed issues and my issue is not listed.
Versions
-
Module version [Required]:
-
Terraform version:
Terraform v1.12.1 -
Provider version(s):
+ provider registry.terraform.io/hashicorp/aws v5.100.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.7
+ provider registry.terraform.io/hashicorp/null v3.2.4
+ provider registry.terraform.io/hashicorp/random v3.7.2
+ provider registry.terraform.io/hashicorp/time v0.13.1
+ provider registry.terraform.io/hashicorp/tls v4.1.0