1. Packages
  2. Zitadel
zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse

Zitadel

zitadel logo
zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse

    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
    zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse