back
terraform {
required_providers {
mso = ">= 0.1.5"
}
}
top
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
variable "label" {
description = "(required)"
type = string
}
variable "type" {
description = "(optional)"
type = string
default = null
}
top
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
output "id" {
description = "returns a string"
value = data.mso_label.this.id
}
output "this" {
value = mso_label.this
}
top