Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.14 KB

alicloud_kms_alias.md

File metadata and controls

81 lines (60 loc) · 1.14 KB

alicloud_kms_alias

back

Index

Terraform

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

top

Example Usage

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

Variables

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

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

top

Resource

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

Outputs

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

output "this" {
  value = alicloud_kms_alias.this
}

top