File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ module "elasticache_redis" {
35
35
36
36
subnet_ids = var.subnet_ids
37
37
vpc_id = var.vpc_id
38
- ingress_cidr_blocks = var.ingress_cidr_blocks
38
+ source_cidr_blocks = var.source_cidr_blocks
39
39
}
40
40
```
41
41
@@ -62,7 +62,7 @@ module "elasticache_redis" {
62
62
63
63
subnet_ids = var.subnet_ids
64
64
vpc_id = var.vpc_id
65
- ingress_cidr_blocks = var.ingress_cidr_blocks
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 |
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ module "elasticache_redis" {
18
18
19
19
subnet_ids = module. vpc . public_subnet_ids
20
20
vpc_id = module. vpc . vpc_id
21
- ingress_cidr_blocks = [module . vpc . vpc_cidr_block ]
21
+ source_cidr_blocks = [module . vpc . vpc_cidr_block ]
22
22
23
23
tags = {
24
24
Environment = " prod"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module "elasticache_redis" {
6
6
7
7
subnet_ids = module. vpc . public_subnet_ids
8
8
vpc_id = module. vpc . vpc_id
9
- ingress_cidr_blocks = [module . vpc . vpc_cidr_block ]
9
+ source_cidr_blocks = [module . vpc . vpc_cidr_block ]
10
10
}
11
11
12
12
module "vpc" {
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ resource "aws_security_group_rule" "ingress" {
123
123
from_port = var. port
124
124
to_port = var. port
125
125
protocol = " tcp"
126
- cidr_blocks = var. ingress_cidr_blocks
126
+ cidr_blocks = var. source_cidr_blocks
127
127
security_group_id = aws_security_group. default . id
128
128
}
129
129
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ variable "vpc_id" {
23
23
description = " VPC Id to associate with Redis ElastiCache."
24
24
}
25
25
26
- variable "ingress_cidr_blocks " {
26
+ variable "source_cidr_blocks " {
27
27
type = list (string )
28
- description = " List of Ingress CIDR blocks."
28
+ description = " List of source CIDR blocks."
29
29
}
30
30
31
31
variable "engine_version" {
You can’t perform that action at this time.
0 commit comments