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>
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]
func LookupApp(ctx *Context, args *LookupAppArgs, opts ...InvokeOption) (*LookupAppResult, error)
func LookupAppOutput(ctx *Context, args *LookupAppOutputArgs, opts ...InvokeOption) LookupAppResultOutput
> 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)
}
public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
public static Output<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
fn::invoke:
function: heroku:app/getApp:getApp
arguments:
# arguments dictionary
The following arguments are supported:
- Name 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 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 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 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 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 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.
- Config
Vars Dictionary<string, string> - A map of all configuration variables for the app.
- Git
Url string - The Git URL for the application. This is used for deploying new versions of the app.
- Heroku
Hostname string - The hostname for the Heroku application, suitable for pointing DNS records.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Routing bool - Last
Release stringId - The last successful Release ID for the app. May be empty.
- Last
Slug stringId - 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. Get App Organization> - 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.
- Web
Url 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.
- Config
Vars map[string]string - A map of all configuration variables for the app.
- Git
Url string - The Git URL for the application. This is used for deploying new versions of the app.
- Heroku
Hostname string - The hostname for the Heroku application, suitable for pointing DNS records.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internal
Routing bool - Last
Release stringId - The last successful Release ID for the app. May be empty.
- Last
Slug stringId - The Slug ID from the last successful release. May be empty.
- Name string
- The name of the Heroku Team (organization).
- Organizations
[]Get
App Organization - 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.
- Web
Url 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.
- config
Vars Map<String,String> - A map of all configuration variables for the app.
- git
Url String - The Git URL for the application. This is used for deploying new versions of the app.
- heroku
Hostname String - The hostname for the Heroku application, suitable for pointing DNS records.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Routing Boolean - last
Release StringId - The last successful Release ID for the app. May be empty.
- last
Slug StringId - The Slug ID from the last successful release. May be empty.
- name String
- The name of the Heroku Team (organization).
- organizations
List<Get
App Organization> - 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.
- web
Url 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.
- config
Vars {[key: string]: string} - A map of all configuration variables for the app.
- git
Url string - The Git URL for the application. This is used for deploying new versions of the app.
- heroku
Hostname string - The hostname for the Heroku application, suitable for pointing DNS records.
- id string
- The provider-assigned unique ID for this managed resource.
- internal
Routing boolean - last
Release stringId - The last successful Release ID for the app. May be empty.
- last
Slug stringId - The Slug ID from the last successful release. May be empty.
- name string
- The name of the Heroku Team (organization).
- organizations
Get
App Organization[] - 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.
- web
Url 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_ strid - The last successful Release ID for the app. May be empty.
- last_
slug_ strid - The Slug ID from the last successful release. May be empty.
- name str
- The name of the Heroku Team (organization).
- organizations
Sequence[Get
App Organization] - 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.
- config
Vars Map<String> - A map of all configuration variables for the app.
- git
Url String - The Git URL for the application. This is used for deploying new versions of the app.
- heroku
Hostname String - The hostname for the Heroku application, suitable for pointing DNS records.
- id String
- The provider-assigned unique ID for this managed resource.
- internal
Routing Boolean - last
Release StringId - The last successful Release ID for the app. May be empty.
- last
Slug StringId - 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.
- web
Url String - The web (HTTP) URL that the application can be accessed at by default.
Supporting Types
GetAppOrganization
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