1. Packages
  2. Packages
  3. Github Provider
  4. API Docs
  5. getOrganizationAppInstallations
Viewing docs for GitHub v6.13.1
published on Wednesday, Apr 29, 2026 by Pulumi
github logo
Viewing docs for GitHub v6.13.1
published on Wednesday, Apr 29, 2026 by Pulumi

    Use this data source to retrieve all GitHub App installations of the organization.

    Example Usage

    To retrieve all GitHub App installations of the organization:

    import * as pulumi from "@pulumi/pulumi";
    import * as github from "@pulumi/github";
    
    const all = github.getOrganizationAppInstallations({});
    
    import pulumi
    import pulumi_github as github
    
    all = github.get_organization_app_installations()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-github/sdk/v6/go/github"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := github.GetOrganizationAppInstallations(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Github = Pulumi.Github;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Github.Index.GetOrganizationAppInstallations.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.github.GithubFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var all = GithubFunctions.getOrganizationAppInstallations(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: github:getOrganizationAppInstallations
          arguments: {}
    

    Using getOrganizationAppInstallations

    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 getOrganizationAppInstallations(opts?: InvokeOptions): Promise<GetOrganizationAppInstallationsResult>
    function getOrganizationAppInstallationsOutput(opts?: InvokeOptions): Output<GetOrganizationAppInstallationsResult>
    def get_organization_app_installations(opts: Optional[InvokeOptions] = None) -> GetOrganizationAppInstallationsResult
    def get_organization_app_installations_output(opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationAppInstallationsResult]
    func GetOrganizationAppInstallations(ctx *Context, opts ...InvokeOption) (*GetOrganizationAppInstallationsResult, error)
    func GetOrganizationAppInstallationsOutput(ctx *Context, opts ...InvokeOption) GetOrganizationAppInstallationsResultOutput

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

    public static class GetOrganizationAppInstallations 
    {
        public static Task<GetOrganizationAppInstallationsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetOrganizationAppInstallationsResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationAppInstallationsResult> getOrganizationAppInstallations(InvokeOptions options)
    public static Output<GetOrganizationAppInstallationsResult> getOrganizationAppInstallations(InvokeOptions options)
    
    fn::invoke:
      function: github:index/getOrganizationAppInstallations:getOrganizationAppInstallations
      arguments:
        # arguments dictionary

    getOrganizationAppInstallations Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Installations List<GetOrganizationAppInstallationsInstallation>
    List of GitHub App installations in the organization. Each installation block consists of the fields documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    Installations []GetOrganizationAppInstallationsInstallation
    List of GitHub App installations in the organization. Each installation block consists of the fields documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    installations List<GetOrganizationAppInstallationsInstallation>
    List of GitHub App installations in the organization. Each installation block consists of the fields documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    installations GetOrganizationAppInstallationsInstallation[]
    List of GitHub App installations in the organization. Each installation block consists of the fields documented below.
    id str
    The provider-assigned unique ID for this managed resource.
    installations Sequence[GetOrganizationAppInstallationsInstallation]
    List of GitHub App installations in the organization. Each installation block consists of the fields documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    installations List<Property Map>
    List of GitHub App installations in the organization. Each installation block consists of the fields documented below.

    Supporting Types

    GetOrganizationAppInstallationsInstallation

    AppId int
    The ID of the GitHub App.
    AppSlug string
    The URL-friendly name of the GitHub App.
    ClientId string
    The OAuth client ID of the GitHub App.
    CreatedAt string
    The date the GitHub App installation was created.
    Events List<string>
    The list of events the GitHub App installation subscribes to.
    Id int
    The ID of the GitHub App installation.
    Permissions Dictionary<string, string>
    A map of the permissions granted to the GitHub App installation.
    RepositorySelection string
    Whether the installation has access to all repositories or only selected ones. Possible values are all or selected.
    SingleFilePaths List<string>
    The list of single file paths the GitHub App installation has access to.
    Suspended bool
    Whether the GitHub App installation is currently suspended.
    TargetId int
    The ID of the account the GitHub App is installed on.
    TargetType string
    The type of account the GitHub App is installed on. Possible values are Organization or User.
    UpdatedAt string
    The date the GitHub App installation was last updated.
    AppId int
    The ID of the GitHub App.
    AppSlug string
    The URL-friendly name of the GitHub App.
    ClientId string
    The OAuth client ID of the GitHub App.
    CreatedAt string
    The date the GitHub App installation was created.
    Events []string
    The list of events the GitHub App installation subscribes to.
    Id int
    The ID of the GitHub App installation.
    Permissions map[string]string
    A map of the permissions granted to the GitHub App installation.
    RepositorySelection string
    Whether the installation has access to all repositories or only selected ones. Possible values are all or selected.
    SingleFilePaths []string
    The list of single file paths the GitHub App installation has access to.
    Suspended bool
    Whether the GitHub App installation is currently suspended.
    TargetId int
    The ID of the account the GitHub App is installed on.
    TargetType string
    The type of account the GitHub App is installed on. Possible values are Organization or User.
    UpdatedAt string
    The date the GitHub App installation was last updated.
    appId Integer
    The ID of the GitHub App.
    appSlug String
    The URL-friendly name of the GitHub App.
    clientId String
    The OAuth client ID of the GitHub App.
    createdAt String
    The date the GitHub App installation was created.
    events List<String>
    The list of events the GitHub App installation subscribes to.
    id Integer
    The ID of the GitHub App installation.
    permissions Map<String,String>
    A map of the permissions granted to the GitHub App installation.
    repositorySelection String
    Whether the installation has access to all repositories or only selected ones. Possible values are all or selected.
    singleFilePaths List<String>
    The list of single file paths the GitHub App installation has access to.
    suspended Boolean
    Whether the GitHub App installation is currently suspended.
    targetId Integer
    The ID of the account the GitHub App is installed on.
    targetType String
    The type of account the GitHub App is installed on. Possible values are Organization or User.
    updatedAt String
    The date the GitHub App installation was last updated.
    appId number
    The ID of the GitHub App.
    appSlug string
    The URL-friendly name of the GitHub App.
    clientId string
    The OAuth client ID of the GitHub App.
    createdAt string
    The date the GitHub App installation was created.
    events string[]
    The list of events the GitHub App installation subscribes to.
    id number
    The ID of the GitHub App installation.
    permissions {[key: string]: string}
    A map of the permissions granted to the GitHub App installation.
    repositorySelection string
    Whether the installation has access to all repositories or only selected ones. Possible values are all or selected.
    singleFilePaths string[]
    The list of single file paths the GitHub App installation has access to.
    suspended boolean
    Whether the GitHub App installation is currently suspended.
    targetId number
    The ID of the account the GitHub App is installed on.
    targetType string
    The type of account the GitHub App is installed on. Possible values are Organization or User.
    updatedAt string
    The date the GitHub App installation was last updated.
    app_id int
    The ID of the GitHub App.
    app_slug str
    The URL-friendly name of the GitHub App.
    client_id str
    The OAuth client ID of the GitHub App.
    created_at str
    The date the GitHub App installation was created.
    events Sequence[str]
    The list of events the GitHub App installation subscribes to.
    id int
    The ID of the GitHub App installation.
    permissions Mapping[str, str]
    A map of the permissions granted to the GitHub App installation.
    repository_selection str
    Whether the installation has access to all repositories or only selected ones. Possible values are all or selected.
    single_file_paths Sequence[str]
    The list of single file paths the GitHub App installation has access to.
    suspended bool
    Whether the GitHub App installation is currently suspended.
    target_id int
    The ID of the account the GitHub App is installed on.
    target_type str
    The type of account the GitHub App is installed on. Possible values are Organization or User.
    updated_at str
    The date the GitHub App installation was last updated.
    appId Number
    The ID of the GitHub App.
    appSlug String
    The URL-friendly name of the GitHub App.
    clientId String
    The OAuth client ID of the GitHub App.
    createdAt String
    The date the GitHub App installation was created.
    events List<String>
    The list of events the GitHub App installation subscribes to.
    id Number
    The ID of the GitHub App installation.
    permissions Map<String>
    A map of the permissions granted to the GitHub App installation.
    repositorySelection String
    Whether the installation has access to all repositories or only selected ones. Possible values are all or selected.
    singleFilePaths List<String>
    The list of single file paths the GitHub App installation has access to.
    suspended Boolean
    Whether the GitHub App installation is currently suspended.
    targetId Number
    The ID of the account the GitHub App is installed on.
    targetType String
    The type of account the GitHub App is installed on. Possible values are Organization or User.
    updatedAt String
    The date the GitHub App installation was last updated.

    Package Details

    Repository
    GitHub pulumi/pulumi-github
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the github Terraform Provider.
    github logo
    Viewing docs for GitHub v6.13.1
    published on Wednesday, Apr 29, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.