1. Packages
  2. Sentry
Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse

Sentry

sentry logo
Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse

    The Sentry provider for Pulumi can be used to provision Teams and Projects in Sentry.

    The Sentry provider must be configured with credentials to create and update resources in Sentry.

    Example

    import * as sentry from "@pulumiverse/sentry";
    const project = new sentry.SentryProject("example", {
        name: "example-project",
        organization: "my-organization-id",
    });
    
    import pulumiverse_sentry as sentry
    
    project = sentry.SentryProject("example",
        name="example-project"
        organization="my-organization-id",
    )
    
    import (
    	"fmt"
    	sentry "github.com/pulumiverse/pulumi-sentry/sdk/go/sentry"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := sentry.NewSentryProject(ctx, "example", &sentry.SentryProjectArgs{
                Name: pulumi.String("example-project"),
                Organization: pulumi.String("my-organization-id"),
    		})
    
    		if err != nil {
    			return fmt.Errorf("error creating sentry project: %v", err)
    		}
    
    		return nil
    	})
    }
    
    using Pulumi;
    using Pulumiverse.sentry;
    
    class sentryProject : Stack
    {
        public sentryProject()
        {
            var project = new SentryProject("example", new SentryProjectArgs{
                Name: "example-project"
                Organization: "my-organization-id",
            });
        }
    }
    
    sentry logo
    Sentry v0.0.8 published on Saturday, Dec 3, 2022 by Pulumiverse