Use this data source to get information about a Heroku Private Space.
# Look up a Heroku Private Space
data "heroku_space" "default" {
name = "my-secret-space"
}
The following arguments are supported:
name - (Required) The name of the Heroku Private Space. The following attributes are exported:
name - The name of the Heroku Private Space. In Heroku, this is also the unique . id - The unique ID of the Heroku Private Space. region - The region in which the Heroku Private Space is deployed. state - The state of the Heroku Private Space. Either allocating or allocated. shield - Whether or not the space has Shield turned on. One of on or off. organization - The organization that owns this space, if the space is owned by an organization. The fields for this block are documented below. outbound_ips - The space's stable outbound NAT IPs. The organization block supports:
name (string) - The name of the organization.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/heroku/d/space.html