back
terraform {
required_providers {
brightbox = ">= 2.0.3"
}
}
top
module "brightbox_server_group" {
source = "./modules/brightbox/d/brightbox_server_group"
# description - (optional) is a type of string
description = null
# name - (optional) is a type of string
name = null
}
top
variable "description" {
description = "(optional) - User Description"
type = string
default = null
}
variable "name" {
description = "(optional) - User Label"
type = string
default = null
}
top
data "brightbox_server_group" "this" {
# description - (optional) is a type of string
description = var.description
# name - (optional) is a type of string
name = var.name
}
top
output "default" {
description = "returns a bool"
value = data.brightbox_server_group.this.default
}
output "description" {
description = "returns a string"
value = data.brightbox_server_group.this.description
}
output "fqdn" {
description = "returns a string"
value = data.brightbox_server_group.this.fqdn
}
output "id" {
description = "returns a string"
value = data.brightbox_server_group.this.id
}
output "name" {
description = "returns a string"
value = data.brightbox_server_group.this.name
}
output "this" {
value = brightbox_server_group.this
}
top