Skip to content

Latest commit

 

History

History
99 lines (76 loc) · 1.58 KB

mso_schema_template_anp.md

File metadata and controls

99 lines (76 loc) · 1.58 KB

mso_schema_template_anp

back

Index

Terraform

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

top

Example Usage

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

  # display_name - (required) is a type of string
  display_name = 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
}

top

Variables

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

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

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

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

top

Resource

resource "mso_schema_template_anp" "this" {
  # display_name - (required) is a type of string
  display_name = var.display_name
  # 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
}

top

Outputs

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

output "this" {
  value = mso_schema_template_anp.this
}

top