Ensure AWS SSM Parameter is encrypted

Error: AWS SSM Parameter is not encrypted

Bridgecrew Policy ID: BC_AWS_GENERAL_143
Checkov Check ID: CKV_AWS_34
Severity: LOW

AWS SSM Parameter is not encrypted

Description

As a best practice enable encryption for your AWS SSM Parameter to improve data security without making changes to your business or applications.

Fix - Runtime

Fix - Buildtime

Terraform

resource "aws_ssm_parameter" "aws_ssm_parameter_ok" {
 name            = "sample"
 type            = "SecureString"
 value           = "test"
 description     = "policy test"
 tier            = "Standard"
 allowed_pattern = ".*"
 data_type       = "text"
}