Skip to content

Latest commit

 

History

History
73 lines (53 loc) · 984 Bytes

File metadata and controls

73 lines (53 loc) · 984 Bytes

exoscale_affinity

back

Index

Terraform

terraform {
  required_providers {
    exoscale = ">= 0.23.0"
  }
}

top

Example Usage

module "exoscale_affinity" {
  source = "./modules/exoscale/d/exoscale_affinity"

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

top

Variables

variable "name" {
  description = "(optional) - Name of the Affinity Group"
  type        = string
  default     = null
}

top

Datasource

data "exoscale_affinity" "this" {
  # name - (optional) is a type of string
  name = var.name
}

top

Outputs

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

output "this" {
  value = exoscale_affinity.this
}

top