tfwriter

Terraform HCL code generator.

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

alicloud_log_audit

back

Index

Terraform

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

top

Example Usage

module "alicloud_log_audit" {
  source = "./modules/alicloud/r/alicloud_log_audit"

  # aliuid - (required) is a type of string
  aliuid = null
  # display_name - (required) is a type of string
  display_name = null
  # multi_account - (optional) is a type of set of string
  multi_account = []
  # variable_map - (optional) is a type of map of string
  variable_map = {}
}

top

Variables

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

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

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

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

top

Resource

resource "alicloud_log_audit" "this" {
  # aliuid - (required) is a type of string
  aliuid = var.aliuid
  # display_name - (required) is a type of string
  display_name = var.display_name
  # multi_account - (optional) is a type of set of string
  multi_account = var.multi_account
  # variable_map - (optional) is a type of map of string
  variable_map = var.variable_map
}

top

Outputs

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

output "this" {
  value = alicloud_log_audit.this
}

top