Created
March 3, 2019 20:19
-
-
Save 100daysofdevops/d3bd8b90e8d17291e4252b9721af4576 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "aws_kms_key" "rds-key" { | |
| description = "key to encrypt rds password" | |
| tags { | |
| Name = "my-rds-kms-key" | |
| } | |
| } | |
| resource "aws_kms_alias" "rds-kms-alias" { | |
| target_key_id = "${aws_kms_key.rds-key.id}" | |
| name = "alias/rds-kms-key" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment