FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

aws_kms_alias

Provides an alias for a KMS customer master key. AWS Console enforces 1-to-1 mapping between aliases & keys, but API (hence Terraform too) allows you to create as many aliases as the account limits allow you.

Example Usage

resource "aws_kms_key" "a" {
}

resource "aws_kms_alias" "a" {
    name = "alias/my-key-alias"
    target_key_id = "${aws_kms_key.a.key_id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io