authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik
authentik.getSource
Explore with Pulumi AI
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik
Get Source by name, slug or managed
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as authentik from "@pulumi/authentik";
const inbuilt = authentik.getSource({
managed: "goauthentik.io/sources/inbuilt",
});
import pulumi
import pulumi_authentik as authentik
inbuilt = authentik.get_source(managed="goauthentik.io/sources/inbuilt")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/authentik/v2025/authentik"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := authentik.GetSource(ctx, &authentik.GetSourceArgs{
Managed: pulumi.StringRef("goauthentik.io/sources/inbuilt"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Authentik = Pulumi.Authentik;
return await Deployment.RunAsync(() =>
{
var inbuilt = Authentik.GetSource.Invoke(new()
{
Managed = "goauthentik.io/sources/inbuilt",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.authentik.AuthentikFunctions;
import com.pulumi.authentik.inputs.GetSourceArgs;
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 inbuilt = AuthentikFunctions.getSource(GetSourceArgs.builder()
.managed("goauthentik.io/sources/inbuilt")
.build());
}
}
variables:
inbuilt:
fn::invoke:
function: authentik:getSource
arguments:
managed: goauthentik.io/sources/inbuilt
Using getSource
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 getSource(args: GetSourceArgs, opts?: InvokeOptions): Promise<GetSourceResult>
function getSourceOutput(args: GetSourceOutputArgs, opts?: InvokeOptions): Output<GetSourceResult>
def get_source(id: Optional[str] = None,
managed: Optional[str] = None,
slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSourceResult
def get_source_output(id: Optional[pulumi.Input[str]] = None,
managed: Optional[pulumi.Input[str]] = None,
slug: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSourceResult]
func GetSource(ctx *Context, args *GetSourceArgs, opts ...InvokeOption) (*GetSourceResult, error)
func GetSourceOutput(ctx *Context, args *GetSourceOutputArgs, opts ...InvokeOption) GetSourceResultOutput
> Note: This function is named GetSource
in the Go SDK.
public static class GetSource
{
public static Task<GetSourceResult> InvokeAsync(GetSourceArgs args, InvokeOptions? opts = null)
public static Output<GetSourceResult> Invoke(GetSourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSourceResult> getSource(GetSourceArgs args, InvokeOptions options)
public static Output<GetSourceResult> getSource(GetSourceArgs args, InvokeOptions options)
fn::invoke:
function: authentik:index/getSource:getSource
arguments:
# arguments dictionary
The following arguments are supported:
getSource Result
The following output properties are available:
Package Details
- Repository
- authentik goauthentik/terraform-provider-authentik
- License
- Notes
- This Pulumi package is based on the
authentik
Terraform Provider.
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik