Skip to content

Commit

Permalink
enabled encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Nov 18, 2023
1 parent 5cd2123 commit 8117741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssm_parameter.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
resource "aws_ssm_parameter" "elasticache_ep" {
name = "/elasticache/app-4/${aws_elasticache_replication_group.app4.replication_group_id}/endpoint"
type = "SecureString"
#key_id = aws_kms_key.encryption_rest.id
key_id = aws_kms_key.encryption_rest.id
value = aws_elasticache_replication_group.app4.configuration_endpoint_address
}
resource "aws_ssm_parameter" "elasticache_port" {
name = "/elasticache/app-4/${aws_elasticache_replication_group.app4.replication_group_id}/port"
type = "SecureString"
#key_id = aws_kms_key.encryption_rest.id
key_id = aws_kms_key.encryption_rest.id
value = aws_elasticache_replication_group.app4.port
}

0 comments on commit 8117741

Please sign in to comment.