tfwriter

Terraform HCL code generator.

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

avi_testsedatastorelevel2

back

Index

Terraform

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

top

Example Usage

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

  # name - (required) is a type of string
  name = null
  # tenant_ref - (optional) is a type of string
  tenant_ref = null
  # test_se_datastore_level_3_refs - (optional) is a type of list of string
  test_se_datastore_level_3_refs = []
  # uuid - (optional) is a type of string
  uuid = null
}

top

Variables

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

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

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

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

top

Resource

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

top

Outputs

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

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

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

output "this" {
  value = avi_testsedatastorelevel2.this
}

top