» Data Source: heroku_space_peering_info

Use this data source to get peering information about a Heroku Private Space.

» Example Usage

# Look up a Heroku Private Space's peering info. 
data "heroku_space_peering_info" "default" {
  name   = "my-secret-space"
}

# Initiate a VPC peering connection request.
resource "aws_vpc_peering_connection" "foo" {
  peer_owner_id = "${data.heroku_space_peering_info.default.aws_account_id}"
  peer_vpc_id   = "${data.heroku_space_peering_info.default.vpc_id}"
  vpc_id        = "${aws_vpc.foo.id}"
}

» Argument Reference

The following arguments are supported:

  • name - (Required) The name of the Heroku Private Space.

» Attributes Reference

The following attributes are exported: