Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns
heroku.space.getPeeringInfo
Explore with Pulumi AI
Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns
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
}
Using getPeeringInfo
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPeeringInfo(args: GetPeeringInfoArgs, opts?: InvokeOptions): Promise<GetPeeringInfoResult>
function getPeeringInfoOutput(args: GetPeeringInfoOutputArgs, opts?: InvokeOptions): Output<GetPeeringInfoResult>def get_peering_info(name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetPeeringInfoResult
def get_peering_info_output(name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetPeeringInfoResult]func GetPeeringInfo(ctx *Context, args *GetPeeringInfoArgs, opts ...InvokeOption) (*GetPeeringInfoResult, error)
func GetPeeringInfoOutput(ctx *Context, args *GetPeeringInfoOutputArgs, opts ...InvokeOption) GetPeeringInfoResultOutput> Note: This function is named GetPeeringInfo in the Go SDK.
public static class GetPeeringInfo 
{
    public static Task<GetPeeringInfoResult> InvokeAsync(GetPeeringInfoArgs args, InvokeOptions? opts = null)
    public static Output<GetPeeringInfoResult> Invoke(GetPeeringInfoInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPeeringInfoResult> getPeeringInfo(GetPeeringInfoArgs args, InvokeOptions options)
public static Output<GetPeeringInfoResult> getPeeringInfo(GetPeeringInfoArgs args, InvokeOptions options)
fn::invoke:
  function: heroku:space/getPeeringInfo:getPeeringInfo
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
 - The name of the Heroku Private Space.
 
- Name string
 - The name of the Heroku Private Space.
 
- name String
 - The name of the Heroku Private Space.
 
- name string
 - The name of the Heroku Private Space.
 
- name str
 - The name of the Heroku Private Space.
 
- name String
 - The name of the Heroku Private Space.
 
getPeeringInfo Result
The following output properties are available:
- Aws
Account stringId  - The AWS account ID that the Heroku Private Space runs in.
 - Aws
Region string - The AWS region that the Heroku Private Space runs in.
 - Dyno
Cidr List<string>Blocks  - The CIDR blocks that the Dynos run on.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Name string
 - List<string>
 - A list of unavailable CIDR blocks.
 - Vpc
Cidr string - The CIDR block of the VPC ID.
 - Vpc
Id string - The VPC ID of the Heroku Private Space.
 
- Aws
Account stringId  - The AWS account ID that the Heroku Private Space runs in.
 - Aws
Region string - The AWS region that the Heroku Private Space runs in.
 - Dyno
Cidr []stringBlocks  - The CIDR blocks that the Dynos run on.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Name string
 - []string
 - A list of unavailable CIDR blocks.
 - Vpc
Cidr string - The CIDR block of the VPC ID.
 - Vpc
Id string - The VPC ID of the Heroku Private Space.
 
- aws
Account StringId  - The AWS account ID that the Heroku Private Space runs in.
 - aws
Region String - The AWS region that the Heroku Private Space runs in.
 - dyno
Cidr List<String>Blocks  - The CIDR blocks that the Dynos run on.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - name String
 - List<String>
 - A list of unavailable CIDR blocks.
 - vpc
Cidr String - The CIDR block of the VPC ID.
 - vpc
Id String - The VPC ID of the Heroku Private Space.
 
- aws
Account stringId  - The AWS account ID that the Heroku Private Space runs in.
 - aws
Region string - The AWS region that the Heroku Private Space runs in.
 - dyno
Cidr string[]Blocks  - The CIDR blocks that the Dynos run on.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - name string
 - string[]
 - A list of unavailable CIDR blocks.
 - vpc
Cidr string - The CIDR block of the VPC ID.
 - vpc
Id string - The VPC ID of the Heroku Private Space.
 
- aws_
account_ strid  - The AWS account ID that the Heroku Private Space runs in.
 - aws_
region str - The AWS region that the Heroku Private Space runs in.
 - dyno_
cidr_ Sequence[str]blocks  - The CIDR blocks that the Dynos run on.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - name str
 - Sequence[str]
 - A list of unavailable CIDR blocks.
 - vpc_
cidr str - The CIDR block of the VPC ID.
 - vpc_
id str - The VPC ID of the Heroku Private Space.
 
- aws
Account StringId  - The AWS account ID that the Heroku Private Space runs in.
 - aws
Region String - The AWS region that the Heroku Private Space runs in.
 - dyno
Cidr List<String>Blocks  - The CIDR blocks that the Dynos run on.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - name String
 - List<String>
 - A list of unavailable CIDR blocks.
 - vpc
Cidr String - The CIDR block of the VPC ID.
 - vpc
Id String - The VPC ID of the Heroku Private Space.
 
Package Details
- Repository
 - heroku pulumiverse/pulumi-heroku
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
herokuTerraform Provider. 
Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns