-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add elasticache #9
Conversation
resource "aws_kms_key" "encrytion_rest" { | ||
enable_key_rotation = true | ||
description = "Key to encrypt cache at rest" | ||
deletion_window_in_days = 7 | ||
#checkov:skip=CKV2_AWS_64: Not including a KMS Key policy | ||
} |
Check warning
Code scanning / checkov
Ensure KMS key Policy is defined Warning
resource "aws_kms_key" "encrytion_secret" { | ||
enable_key_rotation = true | ||
description = "Key to encrypt secret" | ||
deletion_window_in_days = 7 | ||
#checkov:skip=CKV2_AWS_64: Not including a KMS Key policy | ||
} |
Check warning
Code scanning / checkov
Ensure KMS key Policy is defined Warning
resource "aws_secretsmanager_secret" "elasticache_auth" { | ||
name = "elasticache_auth" | ||
recovery_window_in_days = 0 | ||
kms_key_id = aws_kms_key.encrytion_secret.id | ||
#checkov:skip=CKV2_AWS_57: Disabled Secrets Manager secrets automatic rotation | ||
} |
Check warning
Code scanning / checkov
Ensure Secrets Manager secrets should have automatic rotation enabled Warning
💰 Infracost estimate: monthly cost will increase by $226 📈
Infracost output
|
Terraform Format and Style 🖌
|
This pr closes #8