published on Wednesday, Sep 9, 2026 by pulumiverse
published on Wednesday, Sep 9, 2026 by pulumiverse
Gets information about an Edge Services TLS stage.
A TLS stage manages TLS/SSL certificates for an Edge Services pipeline, supporting both managed Let’s Encrypt certificates and custom certificates stored in Scaleway Secret Manager.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Retrieve an Edge Services TLS stage by its ID
const byId = scaleway.edgeservices.getTlsStage({
tlsStageId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
# Retrieve an Edge Services TLS stage by its ID
by_id = scaleway.edgeservices.get_tls_stage(tls_stage_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/edgeservices"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Retrieve an Edge Services TLS stage by its ID
_, err := edgeservices.LookupTlsStage(ctx, &edgeservices.LookupTlsStageArgs{
TlsStageId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// Retrieve an Edge Services TLS stage by its ID
var byId = Scaleway.Edgeservices.GetTlsStage.Invoke(new()
{
TlsStageId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.edgeservices.EdgeservicesFunctions;
import com.pulumi.scaleway.edgeservices.inputs.GetTlsStageArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
// Retrieve an Edge Services TLS stage by its ID
final var byId = EdgeservicesFunctions.getTlsStage(GetTlsStageArgs.builder()
.tlsStageId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
# Retrieve an Edge Services TLS stage by its ID
byId:
fn::invoke:
function: scaleway:edgeservices:getTlsStage
arguments:
tlsStageId: 11111111-1111-1111-1111-111111111111
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_edgeservices_gettlsstage" "byId" {
tls_stage_id = "11111111-1111-1111-1111-111111111111"
}
# Retrieve an Edge Services TLS stage by its ID
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Retrieve an Edge Services TLS stage by pipeline ID
const byPipeline = scaleway.edgeservices.getTlsStage({
pipelineId: main.id,
});
import pulumi
import pulumi_scaleway as scaleway
# Retrieve an Edge Services TLS stage by pipeline ID
by_pipeline = scaleway.edgeservices.get_tls_stage(pipeline_id=main["id"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/edgeservices"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Retrieve an Edge Services TLS stage by pipeline ID
_, err := edgeservices.LookupTlsStage(ctx, &edgeservices.LookupTlsStageArgs{
PipelineId: pulumi.StringRef(main.Id),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
// Retrieve an Edge Services TLS stage by pipeline ID
var byPipeline = Scaleway.Edgeservices.GetTlsStage.Invoke(new()
{
PipelineId = main.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.edgeservices.EdgeservicesFunctions;
import com.pulumi.scaleway.edgeservices.inputs.GetTlsStageArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
// Retrieve an Edge Services TLS stage by pipeline ID
final var byPipeline = EdgeservicesFunctions.getTlsStage(GetTlsStageArgs.builder()
.pipelineId(main.id())
.build());
}
}
variables:
# Retrieve an Edge Services TLS stage by pipeline ID
byPipeline:
fn::invoke:
function: scaleway:edgeservices:getTlsStage
arguments:
pipelineId: ${main.id}
pulumi {
required_providers {
scaleway = {
source = "pulumi/scaleway"
}
}
}
data "scaleway_edgeservices_gettlsstage" "byPipeline" {
pipeline_id = main.id
}
# Retrieve an Edge Services TLS stage by pipeline ID
Using getTlsStage
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 getTlsStage(args: GetTlsStageArgs, opts?: InvokeOptions): Promise<GetTlsStageResult>
function getTlsStageOutput(args: GetTlsStageOutputArgs, opts?: InvokeOutputOptions): Output<GetTlsStageResult>def get_tls_stage(pipeline_id: Optional[str] = None,
secret_id: Optional[str] = None,
secret_region: Optional[str] = None,
tls_stage_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTlsStageResult
def get_tls_stage_output(pipeline_id: pulumi.Input[Optional[str]] = None,
secret_id: pulumi.Input[Optional[str]] = None,
secret_region: pulumi.Input[Optional[str]] = None,
tls_stage_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTlsStageResult]func LookupTlsStage(ctx *Context, args *LookupTlsStageArgs, opts ...InvokeOption) (*LookupTlsStageResult, error)
func LookupTlsStageOutput(ctx *Context, args *LookupTlsStageOutputArgs, opts ...InvokeOption) LookupTlsStageResultOutput> Note: This function is named LookupTlsStage in the Go SDK.
public static class GetTlsStage
{
public static Task<GetTlsStageResult> InvokeAsync(GetTlsStageArgs args, InvokeOptions? opts = null)
public static Output<GetTlsStageResult> Invoke(GetTlsStageInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTlsStageResult> Invoke(GetTlsStageInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTlsStageResult> getTlsStage(GetTlsStageArgs args, InvokeOptions options)
public static Output<GetTlsStageResult> getTlsStage(GetTlsStageArgs args, InvokeOptions options)
public static Output<GetTlsStageResult> getTlsStage(GetTlsStageArgs args, InvokeOutputOptions options)
fn::invoke:
function: scaleway:edgeservices/getTlsStage:getTlsStage
arguments:
# arguments dictionarydata "scaleway_edgeservices_get_tls_stage" "name" {
# arguments
}The following arguments are supported:
- Pipeline
Id string - The ID of the pipeline.
- Secret
Id string - Secret ID to filter for.
- Secret
Region string - Secret region to filter for.
- Tls
Stage stringId The ID of the TLS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
tlsStageId):
- Pipeline
Id string - The ID of the pipeline.
- Secret
Id string - Secret ID to filter for.
- Secret
Region string - Secret region to filter for.
- Tls
Stage stringId The ID of the TLS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
tlsStageId):
- pipeline_
id string - The ID of the pipeline.
- secret_
id string - Secret ID to filter for.
- secret_
region string - Secret region to filter for.
- tls_
stage_ stringid The ID of the TLS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
tlsStageId):
- pipeline
Id String - The ID of the pipeline.
- secret
Id String - Secret ID to filter for.
- secret
Region String - Secret region to filter for.
- tls
Stage StringId The ID of the TLS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
tlsStageId):
- pipeline
Id string - The ID of the pipeline.
- secret
Id string - Secret ID to filter for.
- secret
Region string - Secret region to filter for.
- tls
Stage stringId The ID of the TLS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
tlsStageId):
- pipeline_
id str - The ID of the pipeline.
- secret_
id str - Secret ID to filter for.
- secret_
region str - Secret region to filter for.
- tls_
stage_ strid The ID of the TLS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
tlsStageId):
- pipeline
Id String - The ID of the pipeline.
- secret
Id String - Secret ID to filter for.
- secret
Region String - Secret region to filter for.
- tls
Stage StringId The ID of the TLS stage. Conflicts with all filter arguments below.
The following filter arguments are supported (cannot be used with
tlsStageId):
getTlsStage Result
The following output properties are available:
- Backend
Stage stringId - Cache
Stage stringId - Certificate
Expires stringAt - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Certificate bool - Project
Id string - Route
Stage stringId - Secrets
List<Pulumiverse.
Scaleway. Edgeservices. Outputs. Get Tls Stage Secret> - Updated
At string - Waf
Stage stringId - Pipeline
Id string - Secret
Id string - Secret
Region string - Tls
Stage stringId
- Backend
Stage stringId - Cache
Stage stringId - Certificate
Expires stringAt - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Certificate bool - Project
Id string - Route
Stage stringId - Secrets
[]Get
Tls Stage Secret - Updated
At string - Waf
Stage stringId - Pipeline
Id string - Secret
Id string - Secret
Region string - Tls
Stage stringId
- backend_
stage_ stringid - cache_
stage_ stringid - certificate_
expires_ stringat - created_
at string - id string
- The provider-assigned unique ID for this managed resource.
- managed_
certificate bool - project_
id string - route_
stage_ stringid - secrets list(object)
- updated_
at string - waf_
stage_ stringid - pipeline_
id string - secret_
id string - secret_
region string - tls_
stage_ stringid
- backend
Stage StringId - cache
Stage StringId - certificate
Expires StringAt - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- managed
Certificate Boolean - project
Id String - route
Stage StringId - secrets
List<Get
Tls Stage Secret> - updated
At String - waf
Stage StringId - pipeline
Id String - secret
Id String - secret
Region String - tls
Stage StringId
- backend
Stage stringId - cache
Stage stringId - certificate
Expires stringAt - created
At string - id string
- The provider-assigned unique ID for this managed resource.
- managed
Certificate boolean - project
Id string - route
Stage stringId - secrets
Get
Tls Stage Secret[] - updated
At string - waf
Stage stringId - pipeline
Id string - secret
Id string - secret
Region string - tls
Stage stringId
- backend_
stage_ strid - cache_
stage_ strid - certificate_
expires_ strat - created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- managed_
certificate bool - project_
id str - route_
stage_ strid - secrets
Sequence[Get
Tls Stage Secret] - updated_
at str - waf_
stage_ strid - pipeline_
id str - secret_
id str - secret_
region str - tls_
stage_ strid
- backend
Stage StringId - cache
Stage StringId - certificate
Expires StringAt - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- managed
Certificate Boolean - project
Id String - route
Stage StringId - secrets List<Property Map>
- updated
At String - waf
Stage StringId - pipeline
Id String - secret
Id String - secret
Region String - tls
Stage StringId
Supporting Types
GetTlsStageSecret
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
published on Wednesday, Sep 9, 2026 by pulumiverse