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