Skip to content

Latest commit

 

History

History
103 lines (78 loc) · 1.68 KB

brightbox_server_group.md

File metadata and controls

103 lines (78 loc) · 1.68 KB

brightbox_server_group

back

Index

Terraform

terraform {
  required_providers {
    brightbox = ">= 2.0.3"
  }
}

top

Example Usage

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

Variables

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

variable "name" {
  description = "(optional) - User Label"
  type        = string
  default     = null
}

top

Datasource

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

Outputs

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