1. Packages
  2. Packages
  3. Redpanda Provider
  4. API Docs
  5. getRegions
Viewing docs for redpanda 1.9.0
published on Wednesday, Apr 22, 2026 by redpanda-data
Viewing docs for redpanda 1.9.0
published on Wednesday, Apr 22, 2026 by redpanda-data

    Data source for a list of Redpanda Cloud regions

    Using getRegions

    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 getRegions(args: GetRegionsArgs, opts?: InvokeOptions): Promise<GetRegionsResult>
    function getRegionsOutput(args: GetRegionsOutputArgs, opts?: InvokeOptions): Output<GetRegionsResult>
    def get_regions(cloud_provider: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetRegionsResult
    def get_regions_output(cloud_provider: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetRegionsResult]
    func GetRegions(ctx *Context, args *GetRegionsArgs, opts ...InvokeOption) (*GetRegionsResult, error)
    func GetRegionsOutput(ctx *Context, args *GetRegionsOutputArgs, opts ...InvokeOption) GetRegionsResultOutput

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

    public static class GetRegions 
    {
        public static Task<GetRegionsResult> InvokeAsync(GetRegionsArgs args, InvokeOptions? opts = null)
        public static Output<GetRegionsResult> Invoke(GetRegionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRegionsResult> getRegions(GetRegionsArgs args, InvokeOptions options)
    public static Output<GetRegionsResult> getRegions(GetRegionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: redpanda:index/getRegions:getRegions
      arguments:
        # arguments dictionary
    data "redpanda_getregions" "name" {
        # arguments
    }

    The following arguments are supported:

    CloudProvider string
    Cloud provider where the regions exist
    CloudProvider string
    Cloud provider where the regions exist
    cloud_provider string
    Cloud provider where the regions exist
    cloudProvider String
    Cloud provider where the regions exist
    cloudProvider string
    Cloud provider where the regions exist
    cloud_provider str
    Cloud provider where the regions exist
    cloudProvider String
    Cloud provider where the regions exist

    getRegions Result

    The following output properties are available:

    CloudProvider string
    Cloud provider where the regions exist
    Id string
    The provider-assigned unique ID for this managed resource.
    Regions List<GetRegionsRegion>
    Regions available for the cloud provider
    CloudProvider string
    Cloud provider where the regions exist
    Id string
    The provider-assigned unique ID for this managed resource.
    Regions []GetRegionsRegion
    Regions available for the cloud provider
    cloud_provider string
    Cloud provider where the regions exist
    id string
    The provider-assigned unique ID for this managed resource.
    regions list(object)
    Regions available for the cloud provider
    cloudProvider String
    Cloud provider where the regions exist
    id String
    The provider-assigned unique ID for this managed resource.
    regions List<GetRegionsRegion>
    Regions available for the cloud provider
    cloudProvider string
    Cloud provider where the regions exist
    id string
    The provider-assigned unique ID for this managed resource.
    regions GetRegionsRegion[]
    Regions available for the cloud provider
    cloud_provider str
    Cloud provider where the regions exist
    id str
    The provider-assigned unique ID for this managed resource.
    regions Sequence[GetRegionsRegion]
    Regions available for the cloud provider
    cloudProvider String
    Cloud provider where the regions exist
    id String
    The provider-assigned unique ID for this managed resource.
    regions List<Property Map>
    Regions available for the cloud provider

    Supporting Types

    GetRegionsRegion

    Name string
    Name of the region
    Zones List<string>
    Zones available in the region
    Name string
    Name of the region
    Zones []string
    Zones available in the region
    name string
    Name of the region
    zones list(string)
    Zones available in the region
    name String
    Name of the region
    zones List<String>
    Zones available in the region
    name string
    Name of the region
    zones string[]
    Zones available in the region
    name str
    Name of the region
    zones Sequence[str]
    Zones available in the region
    name String
    Name of the region
    zones List<String>
    Zones available in the region

    Package Details

    Repository
    redpanda redpanda-data/terraform-provider-redpanda
    License
    Notes
    This Pulumi package is based on the redpanda Terraform Provider.
    Viewing docs for redpanda 1.9.0
    published on Wednesday, Apr 22, 2026 by redpanda-data
      Try Pulumi Cloud free. Your team will thank you.