TritonDataCenter / terraform-provider-triton

Terraform Joyent Triton provider
https://www.terraform.io/docs/providers/triton/
Mozilla Public License 2.0
15 stars 24 forks source link

Triton Datacenter data source #69

Closed clstokes closed 6 years ago

clstokes commented 6 years ago

It would be helpful to have a data source to determine the Triton datacenter currently in use. This data is used for Triton CNS (and potentially other items) so it would be great to make this data available via a data source.

I'm imagining usage like this:

data "triton_datacenter" "main" {
}

output "triton_datacenter_name" {
  value = "${data.triton_datacenter.main.name}"
}

The attributes that I would to have from this data source are: