Skip to content

Instantly share code, notes, and snippets.

@slaughtr
Created April 20, 2019 17:55
Show Gist options
  • Save slaughtr/f319ed5e30bf5fc750e530284dd39763 to your computer and use it in GitHub Desktop.
Save slaughtr/f319ed5e30bf5fc750e530284dd39763 to your computer and use it in GitHub Desktop.
"aws_kms_key" "parameter_store" {
description = "Parameter store kms master key"
deletion_window_in_days = 10
enable_key_rotation = true
}
resource "aws_kms_alias" "parameter_store_alias" {
name = "alias/parameter_store_key"
target_key_id = "${aws_kms_key.parameter_store.id}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment