@@ -35,66 +35,66 @@ usage : |-
35
35
Here are some examples of how you can use this module in your inventory structure:
36
36
### Redis
37
37
```hcl
38
- module "redis" {
39
- source = "git::https://github.com/clouddrove/terraform-aws-elasticache?ref=tags/0.12.0"
40
- name = "redis"
41
- application = "cd"
42
- environment = "test"
43
- label_order = ["environment", "name", "application"]
44
- engine = "redis"
45
- engine_version = "5.0.0"
46
- family = "redis5.0"
47
- port = 6379
48
- node_type = "cache.t2.micro"
49
- subnet_ids = ["subnet-xxxxxxx","subnet-xxxxxxx","subnet-xxxxxxx"]
50
- security_group_ids = ["sg-xxxxxxxxx"]
51
- availability_zones = ["eu-west-1a","eu-west-1b" ]
52
- auto_minor_version_upgrade = true
53
- number_cache_clusters = 2
54
- }
38
+ module "redis" {
39
+ source = "git::https://github.com/clouddrove/terraform-aws-elasticache?ref=tags/0.12.2"
40
+ name = "redis"
41
+ application = "clouddrove"
42
+ environment = "test"
43
+ label_order = ["environment", "application", "name"]
44
+ engine = "redis"
45
+ engine_version = "5.0.0"
46
+ family = "redis5.0"
47
+ port = 6379
48
+ node_type = "cache.t2.micro"
49
+ subnet_ids = ["subnet-xxxxxxx","subnet-xxxxxxx","subnet-xxxxxxx"]
50
+ security_group_ids = ["sg-xxxxxxxxx"]
51
+ availability_zones = ["eu-west-1a","eu-west-1b" ]
52
+ auto_minor_version_upgrade = true
53
+ number_cache_clusters = 2
54
+ }
55
+
55
56
```
56
57
### Redis Cluster
57
58
```hcl
58
- module "s3_bucket " {
59
- source = "git::https://github.com/clouddrove/terraform-aws-elasticache?ref=tags/0.12.0 "
60
- name = "cluster"
61
- application = "cd "
62
- environment = "test"
63
- label_order = ["environment", "name ", "application "]
64
- cluster_replication_enabled = true
65
- engine = "redis"
66
- engine_version = "5.0.0"
67
- family = "redis5.0"
68
- port = 6379
69
- node_type = "cache.t2.micro"
70
- subnet_ids = module.subnets.public_subnet_id
71
- security_group_ids = [module.redis-sg.security_group_ids]
72
- availability_zones = ["us-east-1a", "us-east-1b"]
73
- auto_minor_version_upgrade = true
74
- replicas_per_node_group = 2
75
- num_node_groups = 1
76
- automatic_failover_enabled = true
77
- }
59
+ module "redis-cluster " {
60
+ source = "git::https://github.com/clouddrove/terraform-aws-elasticache?ref=tags/0.12.2 "
61
+ name = "cluster"
62
+ application = "clouddrove "
63
+ environment = "test"
64
+ label_order = ["environment", "application ", "name "]
65
+ cluster_replication_enabled = true
66
+ engine = "redis"
67
+ engine_version = "5.0.0"
68
+ family = "redis5.0"
69
+ port = 6379
70
+ node_type = "cache.t2.micro"
71
+ subnet_ids = module.subnets.public_subnet_id
72
+ security_group_ids = [module.redis-sg.security_group_ids]
73
+ availability_zones = ["us-east-1a", "us-east-1b"]
74
+ auto_minor_version_upgrade = true
75
+ replicas_per_node_group = 2
76
+ num_node_groups = 1
77
+ automatic_failover_enabled = true
78
+ }
78
79
```
79
80
### Memcache
80
81
```hcl
81
- module "memcached" {
82
- source = "https://github.com/clouddrove/terraform-aws-s3?ref=tags/0.12.0"
83
- name = "memcached"
84
- application = "cd"
85
- environment = "test"
86
- label_order = ["environment", "name", "application"]
87
-
88
- cluster_enabled = true
89
- engine = "memcached"
90
- engine_version = "1.5.10"
91
- family = "memcached1.5"
92
- az_mode = "cross-az"
93
- port = 11211
94
- node_type = "cache.t2.micro"
95
- num_cache_nodes = 2
96
- subnet_ids = ["subnet-xxxxxxx","subnet-xxxxxxx","subnet-xxxxxxx"]
97
- security_group_ids = ["sg-xxxxxxxxx"]
98
- availability_zones = ["eu-west-1a","eu-west-1b" ]
99
- }
82
+ module "memcached" {
83
+ source = "https://github.com/clouddrove/terraform-aws-s3?ref=tags/0.12.2"
84
+ name = "memcached"
85
+ application = "clouddrove"
86
+ environment = "test"
87
+ label_order = ["environment", "application", "name"]
88
+ cluster_enabled = true
89
+ engine = "memcached"
90
+ engine_version = "1.5.10"
91
+ family = "memcached1.5"
92
+ az_mode = "cross-az"
93
+ port = 11211
94
+ node_type = "cache.t2.micro"
95
+ num_cache_nodes = 2
96
+ subnet_ids = ["subnet-xxxxxxx","subnet-xxxxxxx","subnet-xxxxxxx"]
97
+ security_group_ids = ["sg-xxxxxxxxx"]
98
+ availability_zones = ["eu-west-1a","eu-west-1b" ]
99
+ }
100
100
```
0 commit comments