tfwriter

Terraform HCL code generator.

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

avi_alertscriptconfig

back

Index

Terraform

terraform {
  required_providers {
    avi = ">= 0.2.3"
  }
}

top

Example Usage

module "avi_alertscriptconfig" {
  source = "./modules/avi/r/avi_alertscriptconfig"

  # action_script - (optional) is a type of string
  action_script = null
  # name - (required) is a type of string
  name = null
  # tenant_ref - (optional) is a type of string
  tenant_ref = null
  # uuid - (optional) is a type of string
  uuid = null
}

top

Variables

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

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

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

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

top

Resource

resource "avi_alertscriptconfig" "this" {
  # action_script - (optional) is a type of string
  action_script = var.action_script
  # name - (required) is a type of string
  name = var.name
  # tenant_ref - (optional) is a type of string
  tenant_ref = var.tenant_ref
  # uuid - (optional) is a type of string
  uuid = var.uuid
}

top

Outputs

output "action_script" {
  description = "returns a string"
  value       = avi_alertscriptconfig.this.action_script
}

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

output "tenant_ref" {
  description = "returns a string"
  value       = avi_alertscriptconfig.this.tenant_ref
}

output "uuid" {
  description = "returns a string"
  value       = avi_alertscriptconfig.this.uuid
}

output "this" {
  value = avi_alertscriptconfig.this
}

top