We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 819add4 commit 2d362bdCopy full SHA for 2d362bd
redis-variables.tf
@@ -1,3 +1,9 @@
1
+variable "redis_apply_immediately" {
2
+ description = "Apply changes immediately"
3
+ type = bool
4
+ default = false
5
+}
6
+
7
variable "redis_enabled" {
8
description = "Set to true to enable creation of a Redis instance"
9
type = bool
redis.tf
@@ -2,6 +2,7 @@ module "redis" {
count = var.redis_enabled ? 1 : 0
source = "github.com/thoughtbot/terraform-aws-databases//elasticache-redis/replication-group?ref=v0.6.2"
+ apply_immediately = var.redis_apply_immediately
allowed_cidr_blocks = [module.network.vpc.cidr_block]
description = "Redis cluster for ${local.instance_name} jobs"
engine_version = var.redis_engine_version
0 commit comments