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