alicloud_kms_key_version

Provides a Alikms Key Version resource. For information about Alikms Key Version and how to use it, see What is Resource Alikms Key Version.

Example Usage

Basic Usage

resource "alicloud_kms_key" "this" {}

resource "alicloud_kms_key_version" "keyversion" {
  key_id = alicloud_kms_key.this.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

Import

Alikms key version can be imported using the id, e.g.

$ terraform import alicloud_kms_key_version.example 72da539a-2fa8-4f2d-b854-*****