published on Thursday, Mar 12, 2026 by philips-software
published on Thursday, Mar 12, 2026 by philips-software
Retrieve configuration details from services based on region and environment
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const iamUsEastProd = hsdp.getConfig({
service: "iam",
region: "us-east",
environment: "prod",
});
import pulumi
import pulumi_hsdp as hsdp
iam_us_east_prod = hsdp.get_config(service="iam",
region="us-east",
environment="prod")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hsdp.GetConfig(ctx, &hsdp.GetConfigArgs{
Service: "iam",
Region: pulumi.StringRef("us-east"),
Environment: pulumi.StringRef("prod"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;
return await Deployment.RunAsync(() =>
{
var iamUsEastProd = Hsdp.GetConfig.Invoke(new()
{
Service = "iam",
Region = "us-east",
Environment = "prod",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.HsdpFunctions;
import com.pulumi.hsdp.inputs.GetConfigArgs;
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 iamUsEastProd = HsdpFunctions.getConfig(GetConfigArgs.builder()
.service("iam")
.region("us-east")
.environment("prod")
.build());
}
}
variables:
iamUsEastProd:
fn::invoke:
function: hsdp:getConfig
arguments:
service: iam
region: us-east
environment: prod
import * as pulumi from "@pulumi/pulumi";
export const iamUrlUsEastProd = iamUsEastProd.url;
import pulumi
pulumi.export("iamUrlUsEastProd", iam_us_east_prod["url"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("iamUrlUsEastProd", iamUsEastProd.Url)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["iamUrlUsEastProd"] = iamUsEastProd.Url,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
ctx.export("iamUrlUsEastProd", iamUsEastProd.url());
}
}
outputs:
iamUrlUsEastProd: ${iamUsEastProd.url}
Using getConfig
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 getConfig(args: GetConfigArgs, opts?: InvokeOptions): Promise<GetConfigResult>
function getConfigOutput(args: GetConfigOutputArgs, opts?: InvokeOptions): Output<GetConfigResult>def get_config(environment: Optional[str] = None,
id: Optional[str] = None,
region: Optional[str] = None,
service: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigResult
def get_config_output(environment: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
service: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConfigResult]func GetConfig(ctx *Context, args *GetConfigArgs, opts ...InvokeOption) (*GetConfigResult, error)
func GetConfigOutput(ctx *Context, args *GetConfigOutputArgs, opts ...InvokeOption) GetConfigResultOutput> Note: This function is named GetConfig in the Go SDK.
public static class GetConfig
{
public static Task<GetConfigResult> InvokeAsync(GetConfigArgs args, InvokeOptions? opts = null)
public static Output<GetConfigResult> Invoke(GetConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConfigResult> getConfig(GetConfigArgs args, InvokeOptions options)
public static Output<GetConfigResult> getConfig(GetConfigArgs args, InvokeOptions options)
fn::invoke:
function: hsdp:index/getConfig:getConfig
arguments:
# arguments dictionaryThe following arguments are supported:
- Service string
The HSDP service to lookup
Availability of services varies across regions. The following services are discoverable:
Service Description cartel The Cartel API service. Manages Container Host instances cf HSDP Cloud foundry regional PaaS configuration console HSDP Console API endpoints docker-registry Regional Docker Registry details gateway Regional SSH gateway details has Hosted Application Streaming HAS iam Identity and Access Management IAM idm Identity and User Management. Part of IAM kibana Kibana endpoint. Part of HSDP Logging logging HSDP Logging API details logquery Log query endpoint details. Part of HSDP Logging mdm Master Data Management MDM notification HSDP Notification service pki Public Key Infrastructure PKI services edge Edge / STL API details uaa User Account and Authentication UAA. Part of Cloud foundry vault-proxy Vault proxy details. Part of Vault Service Broker - Environment string
The HSDP environment. If not set, defaults to provider level config
Environments vary across regions. The following environemnts are valid
Environment Description dev Development. Only in region us-eastclient-test Client Test / Development environment prod Production - Id string
- Region string
The HSDP region. If not set, defaults to provider level config
The following regions are recognized:
Region Description apac2 Japan (Tokyo) apac3 Asia-Pacific (Sydney) ca1 Canada (Central Canada) cn1 China (Beijing) dev Development (US) eu-west European Union (Ireland) sa1 South America (Sao Paulo) us-east United States (Virginia) pl HealthSuite Extended Platform with PrivateLink (pl) endpoints The
plregion only has a limited subset of mapped services (logging)
- Service string
The HSDP service to lookup
Availability of services varies across regions. The following services are discoverable:
Service Description cartel The Cartel API service. Manages Container Host instances cf HSDP Cloud foundry regional PaaS configuration console HSDP Console API endpoints docker-registry Regional Docker Registry details gateway Regional SSH gateway details has Hosted Application Streaming HAS iam Identity and Access Management IAM idm Identity and User Management. Part of IAM kibana Kibana endpoint. Part of HSDP Logging logging HSDP Logging API details logquery Log query endpoint details. Part of HSDP Logging mdm Master Data Management MDM notification HSDP Notification service pki Public Key Infrastructure PKI services edge Edge / STL API details uaa User Account and Authentication UAA. Part of Cloud foundry vault-proxy Vault proxy details. Part of Vault Service Broker - Environment string
The HSDP environment. If not set, defaults to provider level config
Environments vary across regions. The following environemnts are valid
Environment Description dev Development. Only in region us-eastclient-test Client Test / Development environment prod Production - Id string
- Region string
The HSDP region. If not set, defaults to provider level config
The following regions are recognized:
Region Description apac2 Japan (Tokyo) apac3 Asia-Pacific (Sydney) ca1 Canada (Central Canada) cn1 China (Beijing) dev Development (US) eu-west European Union (Ireland) sa1 South America (Sao Paulo) us-east United States (Virginia) pl HealthSuite Extended Platform with PrivateLink (pl) endpoints The
plregion only has a limited subset of mapped services (logging)
- service String
The HSDP service to lookup
Availability of services varies across regions. The following services are discoverable:
Service Description cartel The Cartel API service. Manages Container Host instances cf HSDP Cloud foundry regional PaaS configuration console HSDP Console API endpoints docker-registry Regional Docker Registry details gateway Regional SSH gateway details has Hosted Application Streaming HAS iam Identity and Access Management IAM idm Identity and User Management. Part of IAM kibana Kibana endpoint. Part of HSDP Logging logging HSDP Logging API details logquery Log query endpoint details. Part of HSDP Logging mdm Master Data Management MDM notification HSDP Notification service pki Public Key Infrastructure PKI services edge Edge / STL API details uaa User Account and Authentication UAA. Part of Cloud foundry vault-proxy Vault proxy details. Part of Vault Service Broker - environment String
The HSDP environment. If not set, defaults to provider level config
Environments vary across regions. The following environemnts are valid
Environment Description dev Development. Only in region us-eastclient-test Client Test / Development environment prod Production - id String
- region String
The HSDP region. If not set, defaults to provider level config
The following regions are recognized:
Region Description apac2 Japan (Tokyo) apac3 Asia-Pacific (Sydney) ca1 Canada (Central Canada) cn1 China (Beijing) dev Development (US) eu-west European Union (Ireland) sa1 South America (Sao Paulo) us-east United States (Virginia) pl HealthSuite Extended Platform with PrivateLink (pl) endpoints The
plregion only has a limited subset of mapped services (logging)
- service string
The HSDP service to lookup
Availability of services varies across regions. The following services are discoverable:
Service Description cartel The Cartel API service. Manages Container Host instances cf HSDP Cloud foundry regional PaaS configuration console HSDP Console API endpoints docker-registry Regional Docker Registry details gateway Regional SSH gateway details has Hosted Application Streaming HAS iam Identity and Access Management IAM idm Identity and User Management. Part of IAM kibana Kibana endpoint. Part of HSDP Logging logging HSDP Logging API details logquery Log query endpoint details. Part of HSDP Logging mdm Master Data Management MDM notification HSDP Notification service pki Public Key Infrastructure PKI services edge Edge / STL API details uaa User Account and Authentication UAA. Part of Cloud foundry vault-proxy Vault proxy details. Part of Vault Service Broker - environment string
The HSDP environment. If not set, defaults to provider level config
Environments vary across regions. The following environemnts are valid
Environment Description dev Development. Only in region us-eastclient-test Client Test / Development environment prod Production - id string
- region string
The HSDP region. If not set, defaults to provider level config
The following regions are recognized:
Region Description apac2 Japan (Tokyo) apac3 Asia-Pacific (Sydney) ca1 Canada (Central Canada) cn1 China (Beijing) dev Development (US) eu-west European Union (Ireland) sa1 South America (Sao Paulo) us-east United States (Virginia) pl HealthSuite Extended Platform with PrivateLink (pl) endpoints The
plregion only has a limited subset of mapped services (logging)
- service str
The HSDP service to lookup
Availability of services varies across regions. The following services are discoverable:
Service Description cartel The Cartel API service. Manages Container Host instances cf HSDP Cloud foundry regional PaaS configuration console HSDP Console API endpoints docker-registry Regional Docker Registry details gateway Regional SSH gateway details has Hosted Application Streaming HAS iam Identity and Access Management IAM idm Identity and User Management. Part of IAM kibana Kibana endpoint. Part of HSDP Logging logging HSDP Logging API details logquery Log query endpoint details. Part of HSDP Logging mdm Master Data Management MDM notification HSDP Notification service pki Public Key Infrastructure PKI services edge Edge / STL API details uaa User Account and Authentication UAA. Part of Cloud foundry vault-proxy Vault proxy details. Part of Vault Service Broker - environment str
The HSDP environment. If not set, defaults to provider level config
Environments vary across regions. The following environemnts are valid
Environment Description dev Development. Only in region us-eastclient-test Client Test / Development environment prod Production - id str
- region str
The HSDP region. If not set, defaults to provider level config
The following regions are recognized:
Region Description apac2 Japan (Tokyo) apac3 Asia-Pacific (Sydney) ca1 Canada (Central Canada) cn1 China (Beijing) dev Development (US) eu-west European Union (Ireland) sa1 South America (Sao Paulo) us-east United States (Virginia) pl HealthSuite Extended Platform with PrivateLink (pl) endpoints The
plregion only has a limited subset of mapped services (logging)
- service String
The HSDP service to lookup
Availability of services varies across regions. The following services are discoverable:
Service Description cartel The Cartel API service. Manages Container Host instances cf HSDP Cloud foundry regional PaaS configuration console HSDP Console API endpoints docker-registry Regional Docker Registry details gateway Regional SSH gateway details has Hosted Application Streaming HAS iam Identity and Access Management IAM idm Identity and User Management. Part of IAM kibana Kibana endpoint. Part of HSDP Logging logging HSDP Logging API details logquery Log query endpoint details. Part of HSDP Logging mdm Master Data Management MDM notification HSDP Notification service pki Public Key Infrastructure PKI services edge Edge / STL API details uaa User Account and Authentication UAA. Part of Cloud foundry vault-proxy Vault proxy details. Part of Vault Service Broker - environment String
The HSDP environment. If not set, defaults to provider level config
Environments vary across regions. The following environemnts are valid
Environment Description dev Development. Only in region us-eastclient-test Client Test / Development environment prod Production - id String
- region String
The HSDP region. If not set, defaults to provider level config
The following regions are recognized:
Region Description apac2 Japan (Tokyo) apac3 Asia-Pacific (Sydney) ca1 Canada (Central Canada) cn1 China (Beijing) dev Development (US) eu-west European Union (Ireland) sa1 South America (Sao Paulo) us-east United States (Virginia) pl HealthSuite Extended Platform with PrivateLink (pl) endpoints The
plregion only has a limited subset of mapped services (logging)
getConfig Result
The following output properties are available:
- Domain string
- (string) The domain associated with the service
- Host string
- (string) The host of the service
- Id string
- Org
Admin stringUsername - (string) The IAM OrgAdmin used for authenticating against IAM
- Regions List<string>
- (string) The list of known regions
- Service string
- Service
Id string - (string) The IAM service ID used for authenticating against IAM
- Services List<string>
- (list(string)) The list of available services in the region/environment
- Sliding
Expires stringOn - (string) A sliding expires on RFC3339 timestamp which can be used to rotate e.g. credentials. The value is the first day of the next quarter calculated from the current wall clock time.
- Url string
- (string) The (base / API) URL of the service
- Environment string
- Region string
- Domain string
- (string) The domain associated with the service
- Host string
- (string) The host of the service
- Id string
- Org
Admin stringUsername - (string) The IAM OrgAdmin used for authenticating against IAM
- Regions []string
- (string) The list of known regions
- Service string
- Service
Id string - (string) The IAM service ID used for authenticating against IAM
- Services []string
- (list(string)) The list of available services in the region/environment
- Sliding
Expires stringOn - (string) A sliding expires on RFC3339 timestamp which can be used to rotate e.g. credentials. The value is the first day of the next quarter calculated from the current wall clock time.
- Url string
- (string) The (base / API) URL of the service
- Environment string
- Region string
- domain String
- (string) The domain associated with the service
- host String
- (string) The host of the service
- id String
- org
Admin StringUsername - (string) The IAM OrgAdmin used for authenticating against IAM
- regions List<String>
- (string) The list of known regions
- service String
- service
Id String - (string) The IAM service ID used for authenticating against IAM
- services List<String>
- (list(string)) The list of available services in the region/environment
- sliding
Expires StringOn - (string) A sliding expires on RFC3339 timestamp which can be used to rotate e.g. credentials. The value is the first day of the next quarter calculated from the current wall clock time.
- url String
- (string) The (base / API) URL of the service
- environment String
- region String
- domain string
- (string) The domain associated with the service
- host string
- (string) The host of the service
- id string
- org
Admin stringUsername - (string) The IAM OrgAdmin used for authenticating against IAM
- regions string[]
- (string) The list of known regions
- service string
- service
Id string - (string) The IAM service ID used for authenticating against IAM
- services string[]
- (list(string)) The list of available services in the region/environment
- sliding
Expires stringOn - (string) A sliding expires on RFC3339 timestamp which can be used to rotate e.g. credentials. The value is the first day of the next quarter calculated from the current wall clock time.
- url string
- (string) The (base / API) URL of the service
- environment string
- region string
- domain str
- (string) The domain associated with the service
- host str
- (string) The host of the service
- id str
- org_
admin_ strusername - (string) The IAM OrgAdmin used for authenticating against IAM
- regions Sequence[str]
- (string) The list of known regions
- service str
- service_
id str - (string) The IAM service ID used for authenticating against IAM
- services Sequence[str]
- (list(string)) The list of available services in the region/environment
- sliding_
expires_ stron - (string) A sliding expires on RFC3339 timestamp which can be used to rotate e.g. credentials. The value is the first day of the next quarter calculated from the current wall clock time.
- url str
- (string) The (base / API) URL of the service
- environment str
- region str
- domain String
- (string) The domain associated with the service
- host String
- (string) The host of the service
- id String
- org
Admin StringUsername - (string) The IAM OrgAdmin used for authenticating against IAM
- regions List<String>
- (string) The list of known regions
- service String
- service
Id String - (string) The IAM service ID used for authenticating against IAM
- services List<String>
- (list(string)) The list of available services in the region/environment
- sliding
Expires StringOn - (string) A sliding expires on RFC3339 timestamp which can be used to rotate e.g. credentials. The value is the first day of the next quarter calculated from the current wall clock time.
- url String
- (string) The (base / API) URL of the service
- environment String
- region String
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdpTerraform Provider.
published on Thursday, Mar 12, 2026 by philips-software
