back
terraform {
required_providers {
alicloud = ">= 1.120.0"
}
}
top
module "alicloud_kms_key_version" {
source = "./modules/alicloud/r/alicloud_kms_key_version"
# key_id - (required) is a type of string
key_id = null
}
top
variable "key_id" {
description = "(required)"
type = string
}
top
resource "alicloud_kms_key_version" "this" {
# key_id - (required) is a type of string
key_id = var.key_id
}
top
output "creation_date" {
description = "returns a string"
value = alicloud_kms_key_version.this.creation_date
}
output "id" {
description = "returns a string"
value = alicloud_kms_key_version.this.id
}
output "key_version_id" {
description = "returns a string"
value = alicloud_kms_key_version.this.key_version_id
}
output "this" {
value = alicloud_kms_key_version.this
}
top