Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns
heroku.space.getSpace
Explore with Pulumi AI
Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns
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"
}
Using getSpace
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 getSpace(args: GetSpaceArgs, opts?: InvokeOptions): Promise<GetSpaceResult>
function getSpaceOutput(args: GetSpaceOutputArgs, opts?: InvokeOptions): Output<GetSpaceResult>def get_space(cidr: Optional[str] = None,
              data_cidr: Optional[str] = None,
              name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetSpaceResult
def get_space_output(cidr: Optional[pulumi.Input[str]] = None,
              data_cidr: Optional[pulumi.Input[str]] = None,
              name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetSpaceResult]func LookupSpace(ctx *Context, args *LookupSpaceArgs, opts ...InvokeOption) (*LookupSpaceResult, error)
func LookupSpaceOutput(ctx *Context, args *LookupSpaceOutputArgs, opts ...InvokeOption) LookupSpaceResultOutput> Note: This function is named LookupSpace in the Go SDK.
public static class GetSpace 
{
    public static Task<GetSpaceResult> InvokeAsync(GetSpaceArgs args, InvokeOptions? opts = null)
    public static Output<GetSpaceResult> Invoke(GetSpaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSpaceResult> getSpace(GetSpaceArgs args, InvokeOptions options)
public static Output<GetSpaceResult> getSpace(GetSpaceArgs args, InvokeOptions options)
fn::invoke:
  function: heroku:space/getSpace:getSpace
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
 - The name of the Heroku Private Space.
 - Cidr string
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - Data
Cidr string - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 
- Name string
 - The name of the Heroku Private Space.
 - Cidr string
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - Data
Cidr string - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 
- name String
 - The name of the Heroku Private Space.
 - cidr String
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - data
Cidr String - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 
- name string
 - The name of the Heroku Private Space.
 - cidr string
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - data
Cidr string - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 
- name str
 - The name of the Heroku Private Space.
 - cidr str
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - data_
cidr str - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 
- name String
 - The name of the Heroku Private Space.
 - cidr String
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - data
Cidr String - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 
getSpace Result
The following output properties are available:
- Cidr string
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - Data
Cidr string - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Name string
 - (string) - The name of the Heroku Team.
 - Organization string
 - The Heroku Team that owns this space. The fields for this block are documented below.
 - Outbound
Ips List<string> - The space's stable outbound NAT IPs.
 - Region string
 - The region in which the Heroku Private Space is deployed.
 - Shield bool
 - Whether or not the space has Shield turned on. One of 
onoroff. - State string
 - The state of the Heroku Private Space. Either 
allocatingorallocated. - Uuid string
 - The space's unique ID.
 
- Cidr string
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - Data
Cidr string - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Name string
 - (string) - The name of the Heroku Team.
 - Organization string
 - The Heroku Team that owns this space. The fields for this block are documented below.
 - Outbound
Ips []string - The space's stable outbound NAT IPs.
 - Region string
 - The region in which the Heroku Private Space is deployed.
 - Shield bool
 - Whether or not the space has Shield turned on. One of 
onoroff. - State string
 - The state of the Heroku Private Space. Either 
allocatingorallocated. - Uuid string
 - The space's unique ID.
 
- cidr String
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - data
Cidr String - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 - id String
 - The provider-assigned unique ID for this managed resource.
 - name String
 - (string) - The name of the Heroku Team.
 - organization String
 - The Heroku Team that owns this space. The fields for this block are documented below.
 - outbound
Ips List<String> - The space's stable outbound NAT IPs.
 - region String
 - The region in which the Heroku Private Space is deployed.
 - shield Boolean
 - Whether or not the space has Shield turned on. One of 
onoroff. - state String
 - The state of the Heroku Private Space. Either 
allocatingorallocated. - uuid String
 - The space's unique ID.
 
- cidr string
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - data
Cidr string - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 - id string
 - The provider-assigned unique ID for this managed resource.
 - name string
 - (string) - The name of the Heroku Team.
 - organization string
 - The Heroku Team that owns this space. The fields for this block are documented below.
 - outbound
Ips string[] - The space's stable outbound NAT IPs.
 - region string
 - The region in which the Heroku Private Space is deployed.
 - shield boolean
 - Whether or not the space has Shield turned on. One of 
onoroff. - state string
 - The state of the Heroku Private Space. Either 
allocatingorallocated. - uuid string
 - The space's unique ID.
 
- cidr str
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - data_
cidr str - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 - id str
 - The provider-assigned unique ID for this managed resource.
 - name str
 - (string) - The name of the Heroku Team.
 - organization str
 - The Heroku Team that owns this space. The fields for this block are documented below.
 - outbound_
ips Sequence[str] - The space's stable outbound NAT IPs.
 - region str
 - The region in which the Heroku Private Space is deployed.
 - shield bool
 - Whether or not the space has Shield turned on. One of 
onoroff. - state str
 - The state of the Heroku Private Space. Either 
allocatingorallocated. - uuid str
 - The space's unique ID.
 
- cidr String
 - The RFC-1918 CIDR the Private Space will use. It must be a /16 in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16
 - data
Cidr String - The RFC-1918 CIDR that the Private Space will use for the Heroku-managed peering connection that’s automatically created when using Heroku Data add-ons. It must be between a /16 and a /20
 - id String
 - The provider-assigned unique ID for this managed resource.
 - name String
 - (string) - The name of the Heroku Team.
 - organization String
 - The Heroku Team that owns this space. The fields for this block are documented below.
 - outbound
Ips List<String> - The space's stable outbound NAT IPs.
 - region String
 - The region in which the Heroku Private Space is deployed.
 - shield Boolean
 - Whether or not the space has Shield turned on. One of 
onoroff. - state String
 - The state of the Heroku Private Space. Either 
allocatingorallocated. - uuid String
 - The space's unique ID.
 
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