Scaleway v1.37.0 published on Friday, Nov 7, 2025 by pulumiverse
Scaleway v1.37.0 published on Friday, Nov 7, 2025 by pulumiverse
Gets information about the current configuration that Scaleway provider is using.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
// Get configuration information
const main = scaleway.getConfig({});
import pulumi
import pulumi_scaleway as scaleway
# Get configuration information
main = scaleway.get_config()
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get configuration information
_, err := scaleway.GetConfig(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() =>
{
// Get configuration information
var main = Scaleway.GetConfig.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.ScalewayFunctions;
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) {
// Get configuration information
final var main = ScalewayFunctions.getConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
# Get configuration information
main:
fn::invoke:
function: scaleway:getConfig
arguments: {}
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(opts?: InvokeOptions): Promise<GetConfigResult>
function getConfigOutput(opts?: InvokeOptions): Output<GetConfigResult>def get_config(opts: Optional[InvokeOptions] = None) -> GetConfigResult
def get_config_output(opts: Optional[InvokeOptions] = None) -> Output[GetConfigResult]func GetConfig(ctx *Context, opts ...InvokeOption) (*GetConfigResult, error)
func GetConfigOutput(ctx *Context, opts ...InvokeOption) GetConfigResultOutput> Note: This function is named GetConfig in the Go SDK.
public static class GetConfig
{
public static Task<GetConfigResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetConfigResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetConfigResult> getConfig(InvokeOptions options)
public static Output<GetConfigResult> getConfig(InvokeOptions options)
fn::invoke:
function: scaleway:index/getConfig:getConfig
arguments:
# arguments dictionarygetConfig Result
The following output properties are available:
- Access
Key string - Access
Key stringSource - Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Project
Id stringSource - Region string
- Region
Source string - Secret
Key string - Secret
Key stringSource - Zone string
- Zone
Source string
- Access
Key string - Access
Key stringSource - Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Project
Id stringSource - Region string
- Region
Source string - Secret
Key string - Secret
Key stringSource - Zone string
- Zone
Source string
- access
Key String - access
Key StringSource - id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - project
Id StringSource - region String
- region
Source String - secret
Key String - secret
Key StringSource - zone String
- zone
Source String
- access
Key string - access
Key stringSource - id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - project
Id stringSource - region string
- region
Source string - secret
Key string - secret
Key stringSource - zone string
- zone
Source string
- access_
key str - access_
key_ strsource - id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - project_
id_ strsource - region str
- region_
source str - secret_
key str - secret_
key_ strsource - zone str
- zone_
source str
- access
Key String - access
Key StringSource - id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - project
Id StringSource - region String
- region
Source String - secret
Key String - secret
Key StringSource - zone String
- zone
Source String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
Scaleway v1.37.0 published on Friday, Nov 7, 2025 by pulumiverse
