Skip to content

Latest commit

 

History

History
82 lines (61 loc) · 1.06 KB

mso_label.md

File metadata and controls

82 lines (61 loc) · 1.06 KB

mso_label

back

Index

Terraform

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

top

Example Usage

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

  # label - (required) is a type of string
  label = null
  # type - (optional) is a type of string
  type = null
}

top

Variables

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

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

top

Datasource

data "mso_label" "this" {
  # label - (required) is a type of string
  label = var.label
  # type - (optional) is a type of string
  type = var.type
}

top

Outputs

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

output "this" {
  value = mso_label.this
}

top