Skip to content
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

Improve aws rds_instance default security posture #665

Open
azerella opened this issue Sep 26, 2018 · 0 comments
Open

Improve aws rds_instance default security posture #665

azerella opened this issue Sep 26, 2018 · 0 comments

Comments

@azerella
Copy link

The Terraform module aws_db_instance provides an argument of storage_encrypted which is defaulted to off when not specified. I think it would be a good idea if the https://github.com/alphagov/govuk-aws/blob/master/terraform/modules/aws/rds_instance/main.tf module here; specified this argument and defaulted to true.

Setting the storage_encrypted argument will require a kms_key_id to be used as mentioned here: https://www.terraform.io/docs/providers/aws/r/db_instance.html

Encrypted RDS instances shows an improved security posture in the event that the vender's RDS service is compromised. Additionally, AWS don't provide a easy solution for encrypting already unencrypted RDS instances without wiping data, as a default an RDS instance should be encrypted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant