Descope v0.0.4 published on Saturday, Sep 28, 2024 by Descope
Descope
The Descope
provider for Pulumi can be used to provision any of the resources available with Descope
.
Example
"use strict";
const descope = require("@descope/pulumi-descope");
export const project = new descope.Project("descope-project", {});
import * as descope from "@descope/pulumi-descope";
export const project = new descope.Project("descope-project", {});
import pulumi
import descope_pulumi
project = descope_pulumi.Project("pulumi-py-test", environment="production")
pulumi.export("project", project)
using Pulumi;
using Descope.Pulumi.Descope;
return await Deployment.RunAsync(() =>
{
var project = new Project("descope-project");
});
package main
import (
"github.com/descope/pulumi-descope/sdk/go/descope"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
project, err := descope.NewProject(ctx, "pulumi-go-test", &descope.ProjectArgs{Environment: pulumi.String("production")})
if err != nil {
return err
}
ctx.Export("project", project)
return nil
})
}
```
resources:
descopeProject:
type: descope:project:Project
```