@@ -33,9 +33,9 @@ module "elasticache_redis" {
33
33
number_cache_clusters = 2
34
34
node_type = "cache.m3.medium"
35
35
36
- subnet_ids = var.subnet_ids
37
- vpc_id = var.vpc_id
38
- ingress_cidr_blocks = var.ingress_cidr_blocks
36
+ subnet_ids = var.subnet_ids
37
+ vpc_id = var.vpc_id
38
+ source_cidr_blocks = var.source_cidr_blocks
39
39
}
40
40
```
41
41
@@ -60,9 +60,9 @@ module "elasticache_redis" {
60
60
family = "redis5.0"
61
61
description = "This is example"
62
62
63
- subnet_ids = var.subnet_ids
64
- vpc_id = var.vpc_id
65
- ingress_cidr_blocks = var.ingress_cidr_blocks
63
+ subnet_ids = var.subnet_ids
64
+ vpc_id = var.vpc_id
65
+ source_cidr_blocks = var.source_cidr_blocks
66
66
67
67
tags = {
68
68
Environment = "prod"
@@ -93,10 +93,10 @@ module "elasticache_redis" {
93
93
94
94
| Name | Description | Type | Default | Required |
95
95
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------- | ------------------------ | :------: |
96
- | ingress_cidr_blocks | List of Ingress CIDR blocks. | ` list(string) ` | n/a | yes |
97
96
| name | The replication group identifier. This parameter is stored as a lowercase string. | ` string ` | n/a | yes |
98
97
| node_type | The compute and memory capacity of the nodes in the node group. | ` string ` | n/a | yes |
99
98
| number_cache_clusters | The number of cache clusters (primary and replicas) this replication group will have. | ` string ` | n/a | yes |
99
+ | source_cidr_blocks | List of source CIDR blocks. | ` list(string) ` | n/a | yes |
100
100
| subnet_ids | List of VPC Subnet IDs for the cache subnet group. | ` list(string) ` | n/a | yes |
101
101
| vpc_id | VPC Id to associate with Redis ElastiCache. | ` string ` | n/a | yes |
102
102
| apply_immediately | Specifies whether any modifications are applied immediately, or during the next maintenance window. | ` bool ` | ` false ` | no |
0 commit comments