Sentry v0.0.9 published on Friday, Nov 15, 2024 by Pulumiverse
Sentry
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",
});
}
}