On this page
Data Source: heroku_space
Use this data source to get information about a Heroku Private Space.
Example Usage
# Look up a Heroku Private Space
data "heroku_space" "default" {
name = "my-secret-space"
}
Argument Reference
The following arguments are supported:
name
- (Required) The name of the Heroku Private Space.
Attributes Reference
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. Eitherallocating
orallocated
.shield
- Whether or not the space has Shield turned on. One ofon
oroff
.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 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/heroku/d/space.html