1. Registry
  2. Packages
  3. Temporalcloud Provider
  4. API Docs
  5. Project
Viewing docs for Temporal Cloud 1.9.0
published on Friday, Sep 4, 2026 by temporalio
Viewing docs for Temporal Cloud 1.9.0
published on Friday, Sep 4, 2026 by temporalio

    Provisions a Temporal Cloud Project. Projects are an upcoming feature and may not be enabled for your account; contact Temporal support to request access.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as temporalcloud from "@pulumi/temporalcloud";
    
    const payments = new temporalcloud.Project("payments", {
        displayName: "payments",
        description: "Namespaces and resources owned by the Payments team.",
        projectLifecycle: {
            enableDeleteProtection: false,
        },
    });
    
    import pulumi
    import pulumi_temporalcloud as temporalcloud
    
    payments = temporalcloud.Project("payments",
        display_name="payments",
        description="Namespaces and resources owned by the Payments team.",
        project_lifecycle={
            "enable_delete_protection": False,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/temporalcloud/temporalcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := temporalcloud.NewProject(ctx, "payments", &temporalcloud.ProjectArgs{
    			DisplayName: pulumi.String("payments"),
    			Description: pulumi.String("Namespaces and resources owned by the Payments team."),
    			ProjectLifecycle: &temporalcloud.ProjectProjectLifecycleArgs{
    				EnableDeleteProtection: pulumi.Bool(false),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Temporalcloud = Pulumi.Temporalcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var payments = new Temporalcloud.Project("payments", new()
        {
            DisplayName = "payments",
            Description = "Namespaces and resources owned by the Payments team.",
            ProjectLifecycle = new Temporalcloud.Inputs.ProjectProjectLifecycleArgs
            {
                EnableDeleteProtection = false,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.temporalcloud.Project;
    import com.pulumi.temporalcloud.ProjectArgs;
    import com.pulumi.temporalcloud.inputs.ProjectProjectLifecycleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var payments = new Project("payments", ProjectArgs.builder()
                .displayName("payments")
                .description("Namespaces and resources owned by the Payments team.")
                .projectLifecycle(ProjectProjectLifecycleArgs.builder()
                    .enableDeleteProtection(false)
                    .build())
                .build());
    
        }
    }
    
    resources:
      payments:
        type: temporalcloud:Project
        properties:
          displayName: payments
          description: Namespaces and resources owned by the Payments team.
          projectLifecycle:
            enableDeleteProtection: false
    
    Example coming soon!
    

    Create Project Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);
    @overload
    def Project(resource_name: str,
                args: ProjectArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Project(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                display_name: Optional[str] = None,
                description: Optional[str] = None,
                project_lifecycle: Optional[ProjectProjectLifecycleArgs] = None,
                timeouts: Optional[ProjectTimeoutsArgs] = None)
    func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)
    public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)
    public Project(String name, ProjectArgs args)
    public Project(String name, ProjectArgs args, CustomResourceOptions options)
    
    type: temporalcloud:Project
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "temporalcloud_project" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var projectResource = new Temporalcloud.Project("projectResource", new()
    {
        DisplayName = "string",
        Description = "string",
        ProjectLifecycle = new Temporalcloud.Inputs.ProjectProjectLifecycleArgs
        {
            EnableDeleteProtection = false,
        },
        Timeouts = new Temporalcloud.Inputs.ProjectTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := temporalcloud.NewProject(ctx, "projectResource", &temporalcloud.ProjectArgs{
    	DisplayName: pulumi.String("string"),
    	Description: pulumi.String("string"),
    	ProjectLifecycle: &temporalcloud.ProjectProjectLifecycleArgs{
    		EnableDeleteProtection: pulumi.Bool(false),
    	},
    	Timeouts: &temporalcloud.ProjectTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "temporalcloud_project" "projectResource" {
      lifecycle {
        create_before_destroy = true
      }
      display_name = "string"
      description  = "string"
      project_lifecycle = {
        enable_delete_protection = false
      }
      timeouts = {
        create = "string"
        delete = "string"
        update = "string"
      }
    }
    
    var projectResource = new Project("projectResource", ProjectArgs.builder()
        .displayName("string")
        .description("string")
        .projectLifecycle(ProjectProjectLifecycleArgs.builder()
            .enableDeleteProtection(false)
            .build())
        .timeouts(ProjectTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    project_resource = temporalcloud.Project("projectResource",
        display_name="string",
        description="string",
        project_lifecycle={
            "enable_delete_protection": False,
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const projectResource = new temporalcloud.Project("projectResource", {
        displayName: "string",
        description: "string",
        projectLifecycle: {
            enableDeleteProtection: false,
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: temporalcloud:Project
    properties:
        description: string
        displayName: string
        projectLifecycle:
            enableDeleteProtection: false
        timeouts:
            create: string
            delete: string
            update: string
    

    Project Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Project resource accepts the following input properties:

    DisplayName string
    The display name of the Project.
    Description string
    The description of the Project.
    ProjectLifecycle ProjectProjectLifecycle
    Timeouts ProjectTimeouts
    DisplayName string
    The display name of the Project.
    Description string
    The description of the Project.
    ProjectLifecycle ProjectProjectLifecycleArgs
    Timeouts ProjectTimeoutsArgs
    display_name string
    The display name of the Project.
    description string
    The description of the Project.
    project_lifecycle object
    timeouts object
    displayName String
    The display name of the Project.
    description String
    The description of the Project.
    projectLifecycle ProjectProjectLifecycle
    timeouts ProjectTimeouts
    displayName string
    The display name of the Project.
    description string
    The description of the Project.
    projectLifecycle ProjectProjectLifecycle
    timeouts ProjectTimeouts
    display_name str
    The display name of the Project.
    description str
    The description of the Project.
    project_lifecycle ProjectProjectLifecycleArgs
    timeouts ProjectTimeoutsArgs
    displayName String
    The display name of the Project.
    description String
    The description of the Project.
    projectLifecycle Property Map
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the Project.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the Project.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the Project.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the Project.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the Project.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the Project.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the Project.

    Look up Existing Project Resource

    Get an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ProjectState, opts?: CustomResourceOptions): Project
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            project_lifecycle: Optional[ProjectProjectLifecycleArgs] = None,
            state: Optional[str] = None,
            timeouts: Optional[ProjectTimeoutsArgs] = None) -> Project
    func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)
    public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)
    public static Project get(String name, Output<String> id, ProjectState state, CustomResourceOptions options)
    resources:  _:    type: temporalcloud:Project    get:      id: ${id}
    import {
      to = temporalcloud_project.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    The description of the Project.
    DisplayName string
    The display name of the Project.
    ProjectLifecycle ProjectProjectLifecycle
    State string
    The current state of the Project.
    Timeouts ProjectTimeouts
    Description string
    The description of the Project.
    DisplayName string
    The display name of the Project.
    ProjectLifecycle ProjectProjectLifecycleArgs
    State string
    The current state of the Project.
    Timeouts ProjectTimeoutsArgs
    description string
    The description of the Project.
    display_name string
    The display name of the Project.
    project_lifecycle object
    state string
    The current state of the Project.
    timeouts object
    description String
    The description of the Project.
    displayName String
    The display name of the Project.
    projectLifecycle ProjectProjectLifecycle
    state String
    The current state of the Project.
    timeouts ProjectTimeouts
    description string
    The description of the Project.
    displayName string
    The display name of the Project.
    projectLifecycle ProjectProjectLifecycle
    state string
    The current state of the Project.
    timeouts ProjectTimeouts
    description str
    The description of the Project.
    display_name str
    The display name of the Project.
    project_lifecycle ProjectProjectLifecycleArgs
    state str
    The current state of the Project.
    timeouts ProjectTimeoutsArgs
    description String
    The description of the Project.
    displayName String
    The display name of the Project.
    projectLifecycle Property Map
    state String
    The current state of the Project.
    timeouts Property Map

    Supporting Types

    ProjectProjectLifecycle, ProjectProjectLifecycleArgs

    EnableDeleteProtection bool
    If true, the Project cannot be deleted. This is a safeguard against accidental deletion. To delete a Project with this option enabled, you must first set it to false.
    EnableDeleteProtection bool
    If true, the Project cannot be deleted. This is a safeguard against accidental deletion. To delete a Project with this option enabled, you must first set it to false.
    enable_delete_protection bool
    If true, the Project cannot be deleted. This is a safeguard against accidental deletion. To delete a Project with this option enabled, you must first set it to false.
    enableDeleteProtection Boolean
    If true, the Project cannot be deleted. This is a safeguard against accidental deletion. To delete a Project with this option enabled, you must first set it to false.
    enableDeleteProtection boolean
    If true, the Project cannot be deleted. This is a safeguard against accidental deletion. To delete a Project with this option enabled, you must first set it to false.
    enable_delete_protection bool
    If true, the Project cannot be deleted. This is a safeguard against accidental deletion. To delete a Project with this option enabled, you must first set it to false.
    enableDeleteProtection Boolean
    If true, the Project cannot be deleted. This is a safeguard against accidental deletion. To delete a Project with this option enabled, you must first set it to false.

    ProjectTimeouts, ProjectTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    The pulumi import command can be used, for example:

    Projects can be imported to incorporate existing Projects into your Terraform pipeline.

    To import a Project, you need

    • a resource configuration in your Terraform configuration file/module to accept the imported Project. In the example below, the placeholder is “temporalcloud_project” “projectimport”

    • the Project’s ID. In the example below, this is 8d1e3f2b0c9a4d5e8f7a6b5c4d3e2f10

    $ pulumi import temporalcloud:index/project:Project projectimport 8d1e3f2b0c9a4d5e8f7a6b5c4d3e2f10
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    temporalcloud temporalio/terraform-provider-temporalcloud
    License
    Notes
    This Pulumi package is based on the temporalcloud Terraform Provider.
    Viewing docs for Temporal Cloud 1.9.0
    published on Friday, Sep 4, 2026 by temporalio

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial