Skip to content

Latest commit

 

History

History
101 lines (78 loc) · 1.61 KB

mso_schema_template.md

File metadata and controls

101 lines (78 loc) · 1.61 KB

mso_schema_template

back

Index

Terraform

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

top

Example Usage

module "mso_schema_template" {
  source = "./modules/mso/d/mso_schema_template"

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

top

Variables

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

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

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

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

top

Datasource

data "mso_schema_template" "this" {
  # display_name - (optional) 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
  # tenant_id - (optional) is a type of string
  tenant_id = var.tenant_id
}

top

Outputs

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

output "this" {
  value = mso_schema_template.this
}

top