Skip to content

Commit

Permalink
corrected ksm key id
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Nov 18, 2023
1 parent cf1146a commit ac43b0c
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" {

Check failure on line 2 in ssm_parameter.tf

View workflow job for this annotation

GitHub Actions / scan

CKV_AWS_337: "Ensure SSM parameters are using KMS CMK"
name = "/elasticache/app-4/${aws_elasticache_replication_group.app4.replication_group_id}/endpoint"
type = "SecureString"
key_id = aws_kms_key.encrytion_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" {

Check failure on line 8 in ssm_parameter.tf

View workflow job for this annotation

GitHub Actions / scan

CKV_AWS_337: "Ensure SSM parameters are using KMS CMK"
name = "/elasticache/app-4/${aws_elasticache_replication_group.app4.replication_group_id}/port"
type = "SecureString"
key_id = aws_kms_key.encrytion_rest.id
#key_id = aws_kms_key.encryption_rest.id
value = aws_elasticache_replication_group.app4.port
}

0 comments on commit ac43b0c

Please sign in to comment.