Skip to content

Latest commit

 

History

History
129 lines (102 loc) · 2.28 KB

mso_schema_template_vrf.md

File metadata and controls

129 lines (102 loc) · 2.28 KB

mso_schema_template_vrf

back

Index

Terraform

terraform {
  required_providers {
    mso = ">= 0.1.5"
  }
}

top

Example Usage

module "mso_schema_template_vrf" {
  source = "./modules/mso/r/mso_schema_template_vrf"

  # display_name - (required) is a type of string
  display_name = null
  # layer3_multicast - (optional) is a type of bool
  layer3_multicast = null
  # name - (required) is a type of string
  name = null
  # schema_id - (required) is a type of string
  schema_id = null
  # template - (required) is a type of string
  template = null
  # vzany - (optional) is a type of bool
  vzany = null
}

top

Variables

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

variable "layer3_multicast" {
  description = "(optional)"
  type        = bool
  default     = null
}

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

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

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

variable "vzany" {
  description = "(optional)"
  type        = bool
  default     = null
}

top

Resource

resource "mso_schema_template_vrf" "this" {
  # display_name - (required) is a type of string
  display_name = var.display_name
  # layer3_multicast - (optional) is a type of bool
  layer3_multicast = var.layer3_multicast
  # name - (required) is a type of string
  name = var.name
  # schema_id - (required) is a type of string
  schema_id = var.schema_id
  # template - (required) is a type of string
  template = var.template
  # vzany - (optional) is a type of bool
  vzany = var.vzany
}

top

Outputs

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

output "layer3_multicast" {
  description = "returns a bool"
  value       = mso_schema_template_vrf.this.layer3_multicast
}

output "vzany" {
  description = "returns a bool"
  value       = mso_schema_template_vrf.this.vzany
}

output "this" {
  value = mso_schema_template_vrf.this
}

top