File tree 2 files changed +9
-2
lines changed
aws-redis-replication-group
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
"github.com/gruntwork-io/terratest/modules/terraform"
11
11
)
12
12
13
- func TestAWSRedisNode (t * testing.T ) {
13
+ func TestAWSRedisReplicationGroup (t * testing.T ) {
14
14
test := tftest.Test {
15
15
16
16
Setup : func (t * testing.T ) * terraform.Options {
@@ -25,6 +25,9 @@ func TestAWSRedisNode(t *testing.T) {
25
25
env := tftest .UniqueID ()
26
26
service := tftest .UniqueID ()
27
27
owner := tftest .UniqueID ()
28
+ replication_group_description := tftest .UniqueID ()
29
+ transit_encryption_enabled := true
30
+ at_rest_encryption_enabled := true
28
31
29
32
az := fmt .Sprintf ("%sa" , tftest .DefaultRegion )
30
33
@@ -39,6 +42,10 @@ func TestAWSRedisNode(t *testing.T) {
39
42
"subnets" : privateSubnets ,
40
43
"ingress_security_group_ids" : []string {sg },
41
44
"vpc_id" : vpc ,
45
+
46
+ "replication_group_description" : replication_group_description ,
47
+ "transit_encryption_enabled" : transit_encryption_enabled ,
48
+ "at_rest_encryption_enabled" : at_rest_encryption_enabled
42
49
},
43
50
)
44
51
},
Original file line number Diff line number Diff line change 1
1
output "primary_endpoint_address" {
2
- value = aws_elasticache_replication_group. default . primary_endpoint_address
2
+ value = aws_elasticache_replication_group. default . primary_endpoint_address
3
3
}
4
4
5
5
output "configuration_endpoint_address" {
You can’t perform that action at this time.
0 commit comments