Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Inference secrets store sensitive values such as AWS credentials used for SQS-based autoscaling triggers in deployments.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const exampleCloudInferenceSecrets = gcore.getCloudInferenceSecrets({
projectId: 1,
});
import pulumi
import pulumi_gcore as gcore
example_cloud_inference_secrets = gcore.get_cloud_inference_secrets(project_id=1)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.GetCloudInferenceSecrets(ctx, &gcore.GetCloudInferenceSecretsArgs{
ProjectId: pulumi.Float64Ref(1),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var exampleCloudInferenceSecrets = Gcore.GetCloudInferenceSecrets.Invoke(new()
{
ProjectId = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.GcoreFunctions;
import com.pulumi.gcore.inputs.GetCloudInferenceSecretsArgs;
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 exampleCloudInferenceSecrets = GcoreFunctions.getCloudInferenceSecrets(GetCloudInferenceSecretsArgs.builder()
.projectId(1)
.build());
}
}
variables:
exampleCloudInferenceSecrets:
fn::invoke:
function: gcore:getCloudInferenceSecrets
arguments:
projectId: 1
Using getCloudInferenceSecrets
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 getCloudInferenceSecrets(args: GetCloudInferenceSecretsArgs, opts?: InvokeOptions): Promise<GetCloudInferenceSecretsResult>
function getCloudInferenceSecretsOutput(args: GetCloudInferenceSecretsOutputArgs, opts?: InvokeOptions): Output<GetCloudInferenceSecretsResult>def get_cloud_inference_secrets(max_items: Optional[float] = None,
project_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudInferenceSecretsResult
def get_cloud_inference_secrets_output(max_items: Optional[pulumi.Input[float]] = None,
project_id: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudInferenceSecretsResult]func GetCloudInferenceSecrets(ctx *Context, args *GetCloudInferenceSecretsArgs, opts ...InvokeOption) (*GetCloudInferenceSecretsResult, error)
func GetCloudInferenceSecretsOutput(ctx *Context, args *GetCloudInferenceSecretsOutputArgs, opts ...InvokeOption) GetCloudInferenceSecretsResultOutput> Note: This function is named GetCloudInferenceSecrets in the Go SDK.
public static class GetCloudInferenceSecrets
{
public static Task<GetCloudInferenceSecretsResult> InvokeAsync(GetCloudInferenceSecretsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudInferenceSecretsResult> Invoke(GetCloudInferenceSecretsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudInferenceSecretsResult> getCloudInferenceSecrets(GetCloudInferenceSecretsArgs args, InvokeOptions options)
public static Output<GetCloudInferenceSecretsResult> getCloudInferenceSecrets(GetCloudInferenceSecretsArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCloudInferenceSecrets:getCloudInferenceSecrets
arguments:
# arguments dictionaryThe following arguments are supported:
- max_
items float - Max items to fetch, default: 1000
- project_
id float - Project ID
getCloudInferenceSecrets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Cloud Inference Secrets Item> - The items returned by the data source
- Max
Items double - Max items to fetch, default: 1000
- Project
Id double - Project ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Cloud Inference Secrets Item - The items returned by the data source
- Max
Items float64 - Max items to fetch, default: 1000
- Project
Id float64 - Project ID
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Cloud Inference Secrets Item> - The items returned by the data source
- max
Items Double - Max items to fetch, default: 1000
- project
Id Double - Project ID
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Cloud Inference Secrets Item[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- project
Id number - Project ID
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Cloud Inference Secrets Item] - The items returned by the data source
- max_
items float - Max items to fetch, default: 1000
- project_
id float - Project ID
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
- project
Id Number - Project ID
Supporting Types
GetCloudInferenceSecretsItem
- Data
Get
Cloud Inference Secrets Item Data - Secret data.
- Id string
- Secret name.
- Name string
- Secret name.
- Type string
- Secret type.
- Data
Get
Cloud Inference Secrets Item Data - Secret data.
- Id string
- Secret name.
- Name string
- Secret name.
- Type string
- Secret type.
- data
Get
Cloud Inference Secrets Item Data - Secret data.
- id String
- Secret name.
- name String
- Secret name.
- type String
- Secret type.
- data
Get
Cloud Inference Secrets Item Data - Secret data.
- id string
- Secret name.
- name string
- Secret name.
- type string
- Secret type.
- data
Get
Cloud Inference Secrets Item Data - Secret data.
- id str
- Secret name.
- name str
- Secret name.
- type str
- Secret type.
- data Property Map
- Secret data.
- id String
- Secret name.
- name String
- Secret name.
- type String
- Secret type.
GetCloudInferenceSecretsItemData
- Aws
Access stringKey Id - AWS IAM key ID.
- Aws
Secret stringAccess Key - AWS IAM secret key.
- Aws
Access stringKey Id - AWS IAM key ID.
- Aws
Secret stringAccess Key - AWS IAM secret key.
- aws
Access StringKey Id - AWS IAM key ID.
- aws
Secret StringAccess Key - AWS IAM secret key.
- aws
Access stringKey Id - AWS IAM key ID.
- aws
Secret stringAccess Key - AWS IAM secret key.
- aws_
access_ strkey_ id - AWS IAM key ID.
- aws_
secret_ straccess_ key - AWS IAM secret key.
- aws
Access StringKey Id - AWS IAM key ID.
- aws
Secret StringAccess Key - AWS IAM secret key.
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
