1. Packages
  2. Symbiosis
Symbiosis v1.0.4 published on Thursday, Mar 16, 2023 by Symbiosis

Symbiosis

symbiosis logo
Symbiosis v1.0.4 published on Thursday, Mar 16, 2023 by Symbiosis

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

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as symbiosis from "@symbiosis-cloud/symbiosis-pulumi";
    
    const mysite = new symbiosis.Cluster("example", {
        region: "germany-1"
    });
    
    import symbiosis_pulumi as symbiosis
    
    db = symbiosis.Cluster("example",
        region="germany-1"
    )
    
    import (
    	"github.com/symbiosis-cloud/pulumi-symbiosis/sdk/go/symbiosis"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := symbiosis.NewCluster(ctx, "example", &symbiosis.ClusterArgs{
    			Region: pulumi.String("germany-1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using Pulumi;
    using Symbiosis.Pulumi.Symbiosis;
    
    class ExampleCluster : Stack
    {
        public ExampleCluster()
        {
            var cluster = new Cluster("example", new ClusterArgs{
                Region: "germany-1"
            });
        }
    }
    
    symbiosis logo
    Symbiosis v1.0.4 published on Thursday, Mar 16, 2023 by Symbiosis