tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

alicloud_kms_aliases

back

Index

Terraform

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

top

Example Usage

module "alicloud_kms_aliases" {
  source = "./modules/alicloud/d/alicloud_kms_aliases"

  # ids - (optional) is a type of list of string
  ids = []
  # name_regex - (optional) is a type of string
  name_regex = null
  # output_file - (optional) is a type of string
  output_file = null
}

top

Variables

variable "ids" {
  description = "(optional)"
  type        = list(string)
  default     = null
}

variable "name_regex" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "output_file" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Datasource

data "alicloud_kms_aliases" "this" {
  # ids - (optional) is a type of list of string
  ids = var.ids
  # name_regex - (optional) is a type of string
  name_regex = var.name_regex
  # output_file - (optional) is a type of string
  output_file = var.output_file
}

top

Outputs

output "aliases" {
  description = "returns a list of object"
  value       = data.alicloud_kms_aliases.this.aliases
}

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

output "ids" {
  description = "returns a list of string"
  value       = data.alicloud_kms_aliases.this.ids
}

output "names" {
  description = "returns a list of string"
  value       = data.alicloud_kms_aliases.this.names
}

output "this" {
  value = alicloud_kms_aliases.this
}

top