Skip to content

Latest commit

 

History

History
90 lines (68 loc) · 1.31 KB

alicloud_cas_certificate.md

File metadata and controls

90 lines (68 loc) · 1.31 KB

alicloud_cas_certificate

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

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

Variables

variable "cert" {
  description = "(required)"
  type        = string
}

variable "key" {
  description = "(required)"
  type        = string
}

variable "name" {
  description = "(required)"
  type        = string
}

top

Resource

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

Outputs

output "id" {
  description = "returns a string"
  value       = alicloud_cas_certificate.this.id
}

output "this" {
  value = alicloud_cas_certificate.this
}

top