Viewing docs for GitHub v6.13.1
published on Wednesday, Apr 29, 2026 by Pulumi
published on Wednesday, Apr 29, 2026 by Pulumi
Viewing docs for GitHub v6.13.1
published on Wednesday, Apr 29, 2026 by Pulumi
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 dictionarygetOrganizationAppInstallations Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Installations
List<Get
Organization App Installations Installation> - List of GitHub App installations in the organization. Each
installationblock consists of the fields documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Installations
[]Get
Organization App Installations Installation - List of GitHub App installations in the organization. Each
installationblock consists of the fields documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- installations
List<Get
Organization App Installations Installation> - List of GitHub App installations in the organization. Each
installationblock consists of the fields documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- installations
Get
Organization App Installations Installation[] - List of GitHub App installations in the organization. Each
installationblock consists of the fields documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- installations
Sequence[Get
Organization App Installations Installation] - List of GitHub App installations in the organization. Each
installationblock 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
installationblock consists of the fields documented below.
Supporting Types
GetOrganizationAppInstallationsInstallation
- App
Id int - The ID of the GitHub App.
- App
Slug string - The URL-friendly name of the GitHub App.
- Client
Id string - The OAuth client ID of the GitHub App.
- Created
At 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.
- Repository
Selection string - Whether the installation has access to all repositories or only selected ones. Possible values are
allorselected. - Single
File List<string>Paths - 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 string - The type of account the GitHub App is installed on. Possible values are
OrganizationorUser. - Updated
At string - The date the GitHub App installation was last updated.
- App
Id int - The ID of the GitHub App.
- App
Slug string - The URL-friendly name of the GitHub App.
- Client
Id string - The OAuth client ID of the GitHub App.
- Created
At 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.
- Repository
Selection string - Whether the installation has access to all repositories or only selected ones. Possible values are
allorselected. - Single
File []stringPaths - 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 string - The type of account the GitHub App is installed on. Possible values are
OrganizationorUser. - Updated
At string - The date the GitHub App installation was last updated.
- app
Id Integer - The ID of the GitHub App.
- app
Slug String - The URL-friendly name of the GitHub App.
- client
Id String - The OAuth client ID of the GitHub App.
- created
At 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.
- repository
Selection String - Whether the installation has access to all repositories or only selected ones. Possible values are
allorselected. - single
File List<String>Paths - The list of single file paths the GitHub App installation has access to.
- suspended Boolean
- Whether the GitHub App installation is currently suspended.
- target
Id Integer - The ID of the account the GitHub App is installed on.
- target
Type String - The type of account the GitHub App is installed on. Possible values are
OrganizationorUser. - updated
At String - The date the GitHub App installation was last updated.
- app
Id number - The ID of the GitHub App.
- app
Slug string - The URL-friendly name of the GitHub App.
- client
Id string - The OAuth client ID of the GitHub App.
- created
At 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.
- repository
Selection string - Whether the installation has access to all repositories or only selected ones. Possible values are
allorselected. - single
File string[]Paths - The list of single file paths the GitHub App installation has access to.
- suspended boolean
- Whether the GitHub App installation is currently suspended.
- target
Id number - The ID of the account the GitHub App is installed on.
- target
Type string - The type of account the GitHub App is installed on. Possible values are
OrganizationorUser. - updated
At 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
allorselected. - single_
file_ Sequence[str]paths - 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
OrganizationorUser. - updated_
at str - The date the GitHub App installation was last updated.
- app
Id Number - The ID of the GitHub App.
- app
Slug String - The URL-friendly name of the GitHub App.
- client
Id String - The OAuth client ID of the GitHub App.
- created
At 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.
- repository
Selection String - Whether the installation has access to all repositories or only selected ones. Possible values are
allorselected. - single
File List<String>Paths - The list of single file paths the GitHub App installation has access to.
- suspended Boolean
- Whether the GitHub App installation is currently suspended.
- target
Id Number - The ID of the account the GitHub App is installed on.
- target
Type String - The type of account the GitHub App is installed on. Possible values are
OrganizationorUser. - updated
At 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
githubTerraform Provider.
Viewing docs for GitHub v6.13.1
published on Wednesday, Apr 29, 2026 by Pulumi
published on Wednesday, Apr 29, 2026 by Pulumi
