Viewing docs for GitHub v6.12.1
published on Thursday, Feb 12, 2026 by Pulumi
published on Thursday, Feb 12, 2026 by Pulumi
Viewing docs for GitHub v6.12.1
published on Thursday, Feb 12, 2026 by Pulumi
published on Thursday, Feb 12, 2026 by Pulumi
Use this data source to retrieve information about GitHub’s IP addresses.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";
const test = github.getIpRanges({});
import pulumi
import pulumi_github as github
test = github.get_ip_ranges()
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.GetIpRanges(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 test = Github.GetIpRanges.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 test = GithubFunctions.getIpRanges(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
test:
fn::invoke:
function: github:getIpRanges
arguments: {}
Using getIpRanges
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 getIpRanges(opts?: InvokeOptions): Promise<GetIpRangesResult>
function getIpRangesOutput(opts?: InvokeOptions): Output<GetIpRangesResult>def get_ip_ranges(opts: Optional[InvokeOptions] = None) -> GetIpRangesResult
def get_ip_ranges_output(opts: Optional[InvokeOptions] = None) -> Output[GetIpRangesResult]func GetIpRanges(ctx *Context, opts ...InvokeOption) (*GetIpRangesResult, error)
func GetIpRangesOutput(ctx *Context, opts ...InvokeOption) GetIpRangesResultOutput> Note: This function is named GetIpRanges in the Go SDK.
public static class GetIpRanges
{
public static Task<GetIpRangesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetIpRangesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetIpRangesResult> getIpRanges(InvokeOptions options)
public static Output<GetIpRangesResult> getIpRanges(InvokeOptions options)
fn::invoke:
function: github:index/getIpRanges:getIpRanges
arguments:
# arguments dictionarygetIpRanges Result
The following output properties are available:
- Actions List<string>
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- Actions
Ipv4s List<string> - A subset of the
actionsarray that contains IP addresses in IPv4 CIDR format. - Actions
Ipv6s List<string> - A subset of the
actionsarray that contains IP addresses in IPv6 CIDR format. - Api
Ipv4s List<string> - A subset of the
apiarray that contains IP addresses in IPv4 CIDR format. - Api
Ipv6s List<string> - A subset of the
apiarray that contains IP addresses in IPv6 CIDR format. - Apis List<string>
- An Array of IP addresses in CIDR format for the GitHub API.
- Dependabot
Ipv4s List<string> - A subset of the
dependabotarray that contains IP addresses in IPv4 CIDR format. - Dependabot
Ipv6s List<string> - A subset of the
dependabotarray that contains IP addresses in IPv6 CIDR format. - Dependabots List<string>
- An array of IP addresses in CIDR format specifying the A records for dependabot.
- Git
Ipv4s List<string> - A subset of the
gitarray that contains IP addresses in IPv4 CIDR format. - Git
Ipv6s List<string> - A subset of the
gitarray that contains IP addresses in IPv6 CIDR format. - Gits List<string>
- An Array of IP addresses in CIDR format specifying the Git servers.
- Hooks List<string>
- An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.
- Hooks
Ipv4s List<string> - A subset of the
hooksarray that contains IP addresses in IPv4 CIDR format. - Hooks
Ipv6s List<string> - A subset of the
hooksarray that contains IP addresses in IPv6 CIDR format. - Id string
- The provider-assigned unique ID for this managed resource.
- Importer
Ipv4s List<string> - A subset of the
importerarray that contains IP addresses in IPv4 CIDR format. - Importer
Ipv6s List<string> - A subset of the
importerarray that contains IP addresses in IPv6 CIDR format. - Importers List<string>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.
- Packages List<string>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- Packages
Ipv4s List<string> - A subset of the
packagesarray that contains IP addresses in IPv4 CIDR format. - Packages
Ipv6s List<string> - A subset of the
packagesarray that contains IP addresses in IPv6 CIDR format. - Pages List<string>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- Pages
Ipv4s List<string> - A subset of the
pagesarray that contains IP addresses in IPv4 CIDR format. - Pages
Ipv6s List<string> - A subset of the
pagesarray that contains IP addresses in IPv6 CIDR format. - Web
Ipv4s List<string> - A subset of the
webarray that contains IP addresses in IPv4 CIDR format. - Web
Ipv6s List<string> - A subset of the
webarray that contains IP addresses in IPv6 CIDR format. - Webs List<string>
- An Array of IP addresses in CIDR format for GitHub Web.
- Actions []string
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- Actions
Ipv4s []string - A subset of the
actionsarray that contains IP addresses in IPv4 CIDR format. - Actions
Ipv6s []string - A subset of the
actionsarray that contains IP addresses in IPv6 CIDR format. - Api
Ipv4s []string - A subset of the
apiarray that contains IP addresses in IPv4 CIDR format. - Api
Ipv6s []string - A subset of the
apiarray that contains IP addresses in IPv6 CIDR format. - Apis []string
- An Array of IP addresses in CIDR format for the GitHub API.
- Dependabot
Ipv4s []string - A subset of the
dependabotarray that contains IP addresses in IPv4 CIDR format. - Dependabot
Ipv6s []string - A subset of the
dependabotarray that contains IP addresses in IPv6 CIDR format. - Dependabots []string
- An array of IP addresses in CIDR format specifying the A records for dependabot.
- Git
Ipv4s []string - A subset of the
gitarray that contains IP addresses in IPv4 CIDR format. - Git
Ipv6s []string - A subset of the
gitarray that contains IP addresses in IPv6 CIDR format. - Gits []string
- An Array of IP addresses in CIDR format specifying the Git servers.
- Hooks []string
- An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.
- Hooks
Ipv4s []string - A subset of the
hooksarray that contains IP addresses in IPv4 CIDR format. - Hooks
Ipv6s []string - A subset of the
hooksarray that contains IP addresses in IPv6 CIDR format. - Id string
- The provider-assigned unique ID for this managed resource.
- Importer
Ipv4s []string - A subset of the
importerarray that contains IP addresses in IPv4 CIDR format. - Importer
Ipv6s []string - A subset of the
importerarray that contains IP addresses in IPv6 CIDR format. - Importers []string
- An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.
- Packages []string
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- Packages
Ipv4s []string - A subset of the
packagesarray that contains IP addresses in IPv4 CIDR format. - Packages
Ipv6s []string - A subset of the
packagesarray that contains IP addresses in IPv6 CIDR format. - Pages []string
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- Pages
Ipv4s []string - A subset of the
pagesarray that contains IP addresses in IPv4 CIDR format. - Pages
Ipv6s []string - A subset of the
pagesarray that contains IP addresses in IPv6 CIDR format. - Web
Ipv4s []string - A subset of the
webarray that contains IP addresses in IPv4 CIDR format. - Web
Ipv6s []string - A subset of the
webarray that contains IP addresses in IPv6 CIDR format. - Webs []string
- An Array of IP addresses in CIDR format for GitHub Web.
- actions List<String>
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- actions
Ipv4s List<String> - A subset of the
actionsarray that contains IP addresses in IPv4 CIDR format. - actions
Ipv6s List<String> - A subset of the
actionsarray that contains IP addresses in IPv6 CIDR format. - api
Ipv4s List<String> - A subset of the
apiarray that contains IP addresses in IPv4 CIDR format. - api
Ipv6s List<String> - A subset of the
apiarray that contains IP addresses in IPv6 CIDR format. - apis List<String>
- An Array of IP addresses in CIDR format for the GitHub API.
- dependabot
Ipv4s List<String> - A subset of the
dependabotarray that contains IP addresses in IPv4 CIDR format. - dependabot
Ipv6s List<String> - A subset of the
dependabotarray that contains IP addresses in IPv6 CIDR format. - dependabots List<String>
- An array of IP addresses in CIDR format specifying the A records for dependabot.
- git
Ipv4s List<String> - A subset of the
gitarray that contains IP addresses in IPv4 CIDR format. - git
Ipv6s List<String> - A subset of the
gitarray that contains IP addresses in IPv6 CIDR format. - gits List<String>
- An Array of IP addresses in CIDR format specifying the Git servers.
- hooks List<String>
- An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.
- hooks
Ipv4s List<String> - A subset of the
hooksarray that contains IP addresses in IPv4 CIDR format. - hooks
Ipv6s List<String> - A subset of the
hooksarray that contains IP addresses in IPv6 CIDR format. - id String
- The provider-assigned unique ID for this managed resource.
- importer
Ipv4s List<String> - A subset of the
importerarray that contains IP addresses in IPv4 CIDR format. - importer
Ipv6s List<String> - A subset of the
importerarray that contains IP addresses in IPv6 CIDR format. - importers List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.
- packages List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- packages
Ipv4s List<String> - A subset of the
packagesarray that contains IP addresses in IPv4 CIDR format. - packages
Ipv6s List<String> - A subset of the
packagesarray that contains IP addresses in IPv6 CIDR format. - pages List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- pages
Ipv4s List<String> - A subset of the
pagesarray that contains IP addresses in IPv4 CIDR format. - pages
Ipv6s List<String> - A subset of the
pagesarray that contains IP addresses in IPv6 CIDR format. - web
Ipv4s List<String> - A subset of the
webarray that contains IP addresses in IPv4 CIDR format. - web
Ipv6s List<String> - A subset of the
webarray that contains IP addresses in IPv6 CIDR format. - webs List<String>
- An Array of IP addresses in CIDR format for GitHub Web.
- actions string[]
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- actions
Ipv4s string[] - A subset of the
actionsarray that contains IP addresses in IPv4 CIDR format. - actions
Ipv6s string[] - A subset of the
actionsarray that contains IP addresses in IPv6 CIDR format. - api
Ipv4s string[] - A subset of the
apiarray that contains IP addresses in IPv4 CIDR format. - api
Ipv6s string[] - A subset of the
apiarray that contains IP addresses in IPv6 CIDR format. - apis string[]
- An Array of IP addresses in CIDR format for the GitHub API.
- dependabot
Ipv4s string[] - A subset of the
dependabotarray that contains IP addresses in IPv4 CIDR format. - dependabot
Ipv6s string[] - A subset of the
dependabotarray that contains IP addresses in IPv6 CIDR format. - dependabots string[]
- An array of IP addresses in CIDR format specifying the A records for dependabot.
- git
Ipv4s string[] - A subset of the
gitarray that contains IP addresses in IPv4 CIDR format. - git
Ipv6s string[] - A subset of the
gitarray that contains IP addresses in IPv6 CIDR format. - gits string[]
- An Array of IP addresses in CIDR format specifying the Git servers.
- hooks string[]
- An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.
- hooks
Ipv4s string[] - A subset of the
hooksarray that contains IP addresses in IPv4 CIDR format. - hooks
Ipv6s string[] - A subset of the
hooksarray that contains IP addresses in IPv6 CIDR format. - id string
- The provider-assigned unique ID for this managed resource.
- importer
Ipv4s string[] - A subset of the
importerarray that contains IP addresses in IPv4 CIDR format. - importer
Ipv6s string[] - A subset of the
importerarray that contains IP addresses in IPv6 CIDR format. - importers string[]
- An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.
- packages string[]
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- packages
Ipv4s string[] - A subset of the
packagesarray that contains IP addresses in IPv4 CIDR format. - packages
Ipv6s string[] - A subset of the
packagesarray that contains IP addresses in IPv6 CIDR format. - pages string[]
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- pages
Ipv4s string[] - A subset of the
pagesarray that contains IP addresses in IPv4 CIDR format. - pages
Ipv6s string[] - A subset of the
pagesarray that contains IP addresses in IPv6 CIDR format. - web
Ipv4s string[] - A subset of the
webarray that contains IP addresses in IPv4 CIDR format. - web
Ipv6s string[] - A subset of the
webarray that contains IP addresses in IPv6 CIDR format. - webs string[]
- An Array of IP addresses in CIDR format for GitHub Web.
- actions Sequence[str]
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- actions_
ipv4s Sequence[str] - A subset of the
actionsarray that contains IP addresses in IPv4 CIDR format. - actions_
ipv6s Sequence[str] - A subset of the
actionsarray that contains IP addresses in IPv6 CIDR format. - api_
ipv4s Sequence[str] - A subset of the
apiarray that contains IP addresses in IPv4 CIDR format. - api_
ipv6s Sequence[str] - A subset of the
apiarray that contains IP addresses in IPv6 CIDR format. - apis Sequence[str]
- An Array of IP addresses in CIDR format for the GitHub API.
- dependabot_
ipv4s Sequence[str] - A subset of the
dependabotarray that contains IP addresses in IPv4 CIDR format. - dependabot_
ipv6s Sequence[str] - A subset of the
dependabotarray that contains IP addresses in IPv6 CIDR format. - dependabots Sequence[str]
- An array of IP addresses in CIDR format specifying the A records for dependabot.
- git_
ipv4s Sequence[str] - A subset of the
gitarray that contains IP addresses in IPv4 CIDR format. - git_
ipv6s Sequence[str] - A subset of the
gitarray that contains IP addresses in IPv6 CIDR format. - gits Sequence[str]
- An Array of IP addresses in CIDR format specifying the Git servers.
- hooks Sequence[str]
- An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.
- hooks_
ipv4s Sequence[str] - A subset of the
hooksarray that contains IP addresses in IPv4 CIDR format. - hooks_
ipv6s Sequence[str] - A subset of the
hooksarray that contains IP addresses in IPv6 CIDR format. - id str
- The provider-assigned unique ID for this managed resource.
- importer_
ipv4s Sequence[str] - A subset of the
importerarray that contains IP addresses in IPv4 CIDR format. - importer_
ipv6s Sequence[str] - A subset of the
importerarray that contains IP addresses in IPv6 CIDR format. - importers Sequence[str]
- An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.
- packages Sequence[str]
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- packages_
ipv4s Sequence[str] - A subset of the
packagesarray that contains IP addresses in IPv4 CIDR format. - packages_
ipv6s Sequence[str] - A subset of the
packagesarray that contains IP addresses in IPv6 CIDR format. - pages Sequence[str]
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- pages_
ipv4s Sequence[str] - A subset of the
pagesarray that contains IP addresses in IPv4 CIDR format. - pages_
ipv6s Sequence[str] - A subset of the
pagesarray that contains IP addresses in IPv6 CIDR format. - web_
ipv4s Sequence[str] - A subset of the
webarray that contains IP addresses in IPv4 CIDR format. - web_
ipv6s Sequence[str] - A subset of the
webarray that contains IP addresses in IPv6 CIDR format. - webs Sequence[str]
- An Array of IP addresses in CIDR format for GitHub Web.
- actions List<String>
- An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
- actions
Ipv4s List<String> - A subset of the
actionsarray that contains IP addresses in IPv4 CIDR format. - actions
Ipv6s List<String> - A subset of the
actionsarray that contains IP addresses in IPv6 CIDR format. - api
Ipv4s List<String> - A subset of the
apiarray that contains IP addresses in IPv4 CIDR format. - api
Ipv6s List<String> - A subset of the
apiarray that contains IP addresses in IPv6 CIDR format. - apis List<String>
- An Array of IP addresses in CIDR format for the GitHub API.
- dependabot
Ipv4s List<String> - A subset of the
dependabotarray that contains IP addresses in IPv4 CIDR format. - dependabot
Ipv6s List<String> - A subset of the
dependabotarray that contains IP addresses in IPv6 CIDR format. - dependabots List<String>
- An array of IP addresses in CIDR format specifying the A records for dependabot.
- git
Ipv4s List<String> - A subset of the
gitarray that contains IP addresses in IPv4 CIDR format. - git
Ipv6s List<String> - A subset of the
gitarray that contains IP addresses in IPv6 CIDR format. - gits List<String>
- An Array of IP addresses in CIDR format specifying the Git servers.
- hooks List<String>
- An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.
- hooks
Ipv4s List<String> - A subset of the
hooksarray that contains IP addresses in IPv4 CIDR format. - hooks
Ipv6s List<String> - A subset of the
hooksarray that contains IP addresses in IPv6 CIDR format. - id String
- The provider-assigned unique ID for this managed resource.
- importer
Ipv4s List<String> - A subset of the
importerarray that contains IP addresses in IPv4 CIDR format. - importer
Ipv6s List<String> - A subset of the
importerarray that contains IP addresses in IPv6 CIDR format. - importers List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.
- packages List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.
- packages
Ipv4s List<String> - A subset of the
packagesarray that contains IP addresses in IPv4 CIDR format. - packages
Ipv6s List<String> - A subset of the
packagesarray that contains IP addresses in IPv6 CIDR format. - pages List<String>
- An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.
- pages
Ipv4s List<String> - A subset of the
pagesarray that contains IP addresses in IPv4 CIDR format. - pages
Ipv6s List<String> - A subset of the
pagesarray that contains IP addresses in IPv6 CIDR format. - web
Ipv4s List<String> - A subset of the
webarray that contains IP addresses in IPv4 CIDR format. - web
Ipv6s List<String> - A subset of the
webarray that contains IP addresses in IPv6 CIDR format. - webs List<String>
- An Array of IP addresses in CIDR format for GitHub Web.
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.12.1
published on Thursday, Feb 12, 2026 by Pulumi
published on Thursday, Feb 12, 2026 by Pulumi
