Skip to content

Latest commit

 

History

History
78 lines (57 loc) · 1.06 KB

linode_region.md

File metadata and controls

78 lines (57 loc) · 1.06 KB

linode_region

back

Index

Terraform

terraform {
  required_providers {
    linode = ">= 1.16.0"
  }
}

top

Example Usage

module "linode_region" {
  source = "./modules/linode/d/linode_region"

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

top

Variables

variable "country" {
  description = "(optional) - The country where this Region resides."
  type        = string
  default     = null
}

top

Datasource

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

top

Outputs

output "country" {
  description = "returns a string"
  value       = data.linode_region.this.country
}

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

output "this" {
  value = linode_region.this
}

top