Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 1.2 KB

alicloud_kms_key_version.md

File metadata and controls

82 lines (60 loc) · 1.2 KB

alicloud_kms_key_version

back

Index

Terraform

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

top

Example Usage

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

Variables

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

top

Resource

resource "alicloud_kms_key_version" "this" {
  # key_id - (required) is a type of string
  key_id = var.key_id
}

top

Outputs

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