1. Packages
  2. Zitadel
Viewing docs for zitadel v0.2.0
published on Monday, Mar 24, 2025 by pulumiverse

Zitadel

zitadel logo
Viewing docs for zitadel v0.2.0
published on Monday, Mar 24, 2025 by pulumiverse
    Try Pulumi Cloud free. Your team will thank you.

    The Zitadel provider for Pulumi can be used to provision any of the cloud resources available in Zitadel. The Zitadel provider must be configured with credentials to deploy and update resources in Zitadel.

    Example

    import * as zitadel from "@pulumiverse/zitadel";
    const db = new zitadel.Org("example", {
        name: "example",
    });
    
    import pulumiverse_zitadel as zitadel
    
    db = zitadel.Database("example",
        name="example"
    )
    
    import (
    	"fmt"
    	zitadel "github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    
    		org, err := zitadel.NewOrg(ctx, "example", &zitadel.OrgArgs{
                Name: pulumi.String("example"),
    		})
    		if err != nil {
    			return fmt.Errorf("error creating org: %v", err)
    		}
    
    		ctx.Export("orgId", org.Id)
    
    		return nil
    	})
    }
    
    using Pulumi;
    using Pulumiverse.Zitadel;
    
    class Zitadel : Stack
    {
        public Zitadel()
        {
            var org = new Org("example", new OrgArgs{
                Name: "example"
            });
        }
    }
    
    zitadel logo
    Viewing docs for zitadel v0.2.0
    published on Monday, Mar 24, 2025 by pulumiverse
      Try Pulumi Cloud free. Your team will thank you.