1. Packages
  2. Heroku Provider
  3. API Docs
  4. app
  5. getApp
Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns

heroku.app.getApp

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 App.

Example Usage

# Lookup an existing Heroku app
data "heroku_app" "default" {
  name   = "my-cool-app"
}

Using getApp

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 getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>
function getAppOutput(args: GetAppOutputArgs, opts?: InvokeOptions): Output<GetAppResult>
Copy
def get_app(name: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetAppResult
def get_app_output(name: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetAppResult]
Copy
func LookupApp(ctx *Context, args *LookupAppArgs, opts ...InvokeOption) (*LookupAppResult, error)
func LookupAppOutput(ctx *Context, args *LookupAppOutputArgs, opts ...InvokeOption) LookupAppResultOutput
Copy

> Note: This function is named LookupApp in the Go SDK.

public static class GetApp 
{
    public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
    public static Output<GetAppResult> Invoke(GetAppInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
public static Output<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: heroku:app/getApp:getApp
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
Name This property is required. string
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
name This property is required. String
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
name This property is required. string
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
name This property is required. str
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
name This property is required. String
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.

getApp Result

The following output properties are available:

Acm bool
True if Heroku ACM is enabled for this app, false otherwise.
Buildpacks List<string>
A list of buildpacks that this app uses.
ConfigVars Dictionary<string, string>
A map of all configuration variables for the app.
GitUrl string
The Git URL for the application. This is used for deploying new versions of the app.
HerokuHostname string
The hostname for the Heroku application, suitable for pointing DNS records.
Id string
The provider-assigned unique ID for this managed resource.
InternalRouting bool
LastReleaseId string
The last successful Release ID for the app. May be empty.
LastSlugId string
The Slug ID from the last successful release. May be empty.
Name string
The name of the Heroku Team (organization).
Organizations List<Pulumiverse.Heroku.App.Outputs.GetAppOrganization>
The Heroku Team that owns this app.
Region string
The region in which the app is deployed.
Space string
The private space in which the app runs. Not present if this is a common runtime app.
Stack string
The application stack is what platform to run the application in.
Uuid string
The unique UUID of the Heroku app.
WebUrl string
The web (HTTP) URL that the application can be accessed at by default.
Acm bool
True if Heroku ACM is enabled for this app, false otherwise.
Buildpacks []string
A list of buildpacks that this app uses.
ConfigVars map[string]string
A map of all configuration variables for the app.
GitUrl string
The Git URL for the application. This is used for deploying new versions of the app.
HerokuHostname string
The hostname for the Heroku application, suitable for pointing DNS records.
Id string
The provider-assigned unique ID for this managed resource.
InternalRouting bool
LastReleaseId string
The last successful Release ID for the app. May be empty.
LastSlugId string
The Slug ID from the last successful release. May be empty.
Name string
The name of the Heroku Team (organization).
Organizations []GetAppOrganization
The Heroku Team that owns this app.
Region string
The region in which the app is deployed.
Space string
The private space in which the app runs. Not present if this is a common runtime app.
Stack string
The application stack is what platform to run the application in.
Uuid string
The unique UUID of the Heroku app.
WebUrl string
The web (HTTP) URL that the application can be accessed at by default.
acm Boolean
True if Heroku ACM is enabled for this app, false otherwise.
buildpacks List<String>
A list of buildpacks that this app uses.
configVars Map<String,String>
A map of all configuration variables for the app.
gitUrl String
The Git URL for the application. This is used for deploying new versions of the app.
herokuHostname String
The hostname for the Heroku application, suitable for pointing DNS records.
id String
The provider-assigned unique ID for this managed resource.
internalRouting Boolean
lastReleaseId String
The last successful Release ID for the app. May be empty.
lastSlugId String
The Slug ID from the last successful release. May be empty.
name String
The name of the Heroku Team (organization).
organizations List<GetAppOrganization>
The Heroku Team that owns this app.
region String
The region in which the app is deployed.
space String
The private space in which the app runs. Not present if this is a common runtime app.
stack String
The application stack is what platform to run the application in.
uuid String
The unique UUID of the Heroku app.
webUrl String
The web (HTTP) URL that the application can be accessed at by default.
acm boolean
True if Heroku ACM is enabled for this app, false otherwise.
buildpacks string[]
A list of buildpacks that this app uses.
configVars {[key: string]: string}
A map of all configuration variables for the app.
gitUrl string
The Git URL for the application. This is used for deploying new versions of the app.
herokuHostname string
The hostname for the Heroku application, suitable for pointing DNS records.
id string
The provider-assigned unique ID for this managed resource.
internalRouting boolean
lastReleaseId string
The last successful Release ID for the app. May be empty.
lastSlugId string
The Slug ID from the last successful release. May be empty.
name string
The name of the Heroku Team (organization).
organizations GetAppOrganization[]
The Heroku Team that owns this app.
region string
The region in which the app is deployed.
space string
The private space in which the app runs. Not present if this is a common runtime app.
stack string
The application stack is what platform to run the application in.
uuid string
The unique UUID of the Heroku app.
webUrl string
The web (HTTP) URL that the application can be accessed at by default.
acm bool
True if Heroku ACM is enabled for this app, false otherwise.
buildpacks Sequence[str]
A list of buildpacks that this app uses.
config_vars Mapping[str, str]
A map of all configuration variables for the app.
git_url str
The Git URL for the application. This is used for deploying new versions of the app.
heroku_hostname str
The hostname for the Heroku application, suitable for pointing DNS records.
id str
The provider-assigned unique ID for this managed resource.
internal_routing bool
last_release_id str
The last successful Release ID for the app. May be empty.
last_slug_id str
The Slug ID from the last successful release. May be empty.
name str
The name of the Heroku Team (organization).
organizations Sequence[GetAppOrganization]
The Heroku Team that owns this app.
region str
The region in which the app is deployed.
space str
The private space in which the app runs. Not present if this is a common runtime app.
stack str
The application stack is what platform to run the application in.
uuid str
The unique UUID of the Heroku app.
web_url str
The web (HTTP) URL that the application can be accessed at by default.
acm Boolean
True if Heroku ACM is enabled for this app, false otherwise.
buildpacks List<String>
A list of buildpacks that this app uses.
configVars Map<String>
A map of all configuration variables for the app.
gitUrl String
The Git URL for the application. This is used for deploying new versions of the app.
herokuHostname String
The hostname for the Heroku application, suitable for pointing DNS records.
id String
The provider-assigned unique ID for this managed resource.
internalRouting Boolean
lastReleaseId String
The last successful Release ID for the app. May be empty.
lastSlugId String
The Slug ID from the last successful release. May be empty.
name String
The name of the Heroku Team (organization).
organizations List<Property Map>
The Heroku Team that owns this app.
region String
The region in which the app is deployed.
space String
The private space in which the app runs. Not present if this is a common runtime app.
stack String
The application stack is what platform to run the application in.
uuid String
The unique UUID of the Heroku app.
webUrl String
The web (HTTP) URL that the application can be accessed at by default.

Supporting Types

GetAppOrganization

Locked This property is required. bool
True if the app access is locked
Name This property is required. string
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
Personal This property is required. bool
Locked This property is required. bool
True if the app access is locked
Name This property is required. string
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
Personal This property is required. bool
locked This property is required. Boolean
True if the app access is locked
name This property is required. String
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
personal This property is required. Boolean
locked This property is required. boolean
True if the app access is locked
name This property is required. string
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
personal This property is required. boolean
locked This property is required. bool
True if the app access is locked
name This property is required. str
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
personal This property is required. bool
locked This property is required. Boolean
True if the app access is locked
name This property is required. String
The name of the application. In Heroku, this is also the unique ID, so it must be unique and have a minimum of 3 characters.
personal This property is required. Boolean

Package Details

Repository
heroku pulumiverse/pulumi-heroku
License
Apache-2.0
Notes
This Pulumi package is based on the heroku Terraform Provider.
Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns