1. Packages
  2. Ibm Provider
  3. API Docs
  4. CodeEngineProject
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.CodeEngineProject

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create and delete code_engine_projects with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const group = ibm.getResourceGroup({
        name: "<your_group>",
    });
    const codeEngineProjectInstance = new ibm.CodeEngineProject("codeEngineProjectInstance", {resourceGroupId: group.then(group => group.id)});
    
    import pulumi
    import pulumi_ibm as ibm
    
    group = ibm.get_resource_group(name="<your_group>")
    code_engine_project_instance = ibm.CodeEngineProject("codeEngineProjectInstance", resource_group_id=group.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		group, err := ibm.LookupResourceGroup(ctx, &ibm.LookupResourceGroupArgs{
    			Name: pulumi.StringRef("<your_group>"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewCodeEngineProject(ctx, "codeEngineProjectInstance", &ibm.CodeEngineProjectArgs{
    			ResourceGroupId: pulumi.String(group.Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var @group = Ibm.GetResourceGroup.Invoke(new()
        {
            Name = "<your_group>",
        });
    
        var codeEngineProjectInstance = new Ibm.CodeEngineProject("codeEngineProjectInstance", new()
        {
            ResourceGroupId = @group.Apply(@group => @group.Apply(getResourceGroupResult => getResourceGroupResult.Id)),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetResourceGroupArgs;
    import com.pulumi.ibm.CodeEngineProject;
    import com.pulumi.ibm.CodeEngineProjectArgs;
    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) {
            final var group = IbmFunctions.getResourceGroup(GetResourceGroupArgs.builder()
                .name("<your_group>")
                .build());
    
            var codeEngineProjectInstance = new CodeEngineProject("codeEngineProjectInstance", CodeEngineProjectArgs.builder()
                .resourceGroupId(group.applyValue(getResourceGroupResult -> getResourceGroupResult.id()))
                .build());
    
        }
    }
    
    resources:
      codeEngineProjectInstance:
        type: ibm:CodeEngineProject
        properties:
          resourceGroupId: ${group.id}
    variables:
      group:
        fn::invoke:
          function: ibm:getResourceGroup
          arguments:
            name: <your_group>
    

    Create CodeEngineProject Resource

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

    Constructor syntax

    new CodeEngineProject(name: string, args?: CodeEngineProjectArgs, opts?: CustomResourceOptions);
    @overload
    def CodeEngineProject(resource_name: str,
                          args: Optional[CodeEngineProjectArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def CodeEngineProject(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          code_engine_project_id: Optional[str] = None,
                          name: Optional[str] = None,
                          resource_group_id: Optional[str] = None,
                          timeouts: Optional[CodeEngineProjectTimeoutsArgs] = None)
    func NewCodeEngineProject(ctx *Context, name string, args *CodeEngineProjectArgs, opts ...ResourceOption) (*CodeEngineProject, error)
    public CodeEngineProject(string name, CodeEngineProjectArgs? args = null, CustomResourceOptions? opts = null)
    public CodeEngineProject(String name, CodeEngineProjectArgs args)
    public CodeEngineProject(String name, CodeEngineProjectArgs args, CustomResourceOptions options)
    
    type: ibm:CodeEngineProject
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CodeEngineProjectArgs
    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 CodeEngineProjectArgs
    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 CodeEngineProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CodeEngineProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CodeEngineProjectArgs
    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 codeEngineProjectResource = new Ibm.CodeEngineProject("codeEngineProjectResource", new()
    {
        CodeEngineProjectId = "string",
        Name = "string",
        ResourceGroupId = "string",
        Timeouts = new Ibm.Inputs.CodeEngineProjectTimeoutsArgs
        {
            Create = "string",
        },
    });
    
    example, err := ibm.NewCodeEngineProject(ctx, "codeEngineProjectResource", &ibm.CodeEngineProjectArgs{
    	CodeEngineProjectId: pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	ResourceGroupId:     pulumi.String("string"),
    	Timeouts: &ibm.CodeEngineProjectTimeoutsArgs{
    		Create: pulumi.String("string"),
    	},
    })
    
    var codeEngineProjectResource = new CodeEngineProject("codeEngineProjectResource", CodeEngineProjectArgs.builder()
        .codeEngineProjectId("string")
        .name("string")
        .resourceGroupId("string")
        .timeouts(CodeEngineProjectTimeoutsArgs.builder()
            .create("string")
            .build())
        .build());
    
    code_engine_project_resource = ibm.CodeEngineProject("codeEngineProjectResource",
        code_engine_project_id="string",
        name="string",
        resource_group_id="string",
        timeouts={
            "create": "string",
        })
    
    const codeEngineProjectResource = new ibm.CodeEngineProject("codeEngineProjectResource", {
        codeEngineProjectId: "string",
        name: "string",
        resourceGroupId: "string",
        timeouts: {
            create: "string",
        },
    });
    
    type: ibm:CodeEngineProject
    properties:
        codeEngineProjectId: string
        name: string
        resourceGroupId: string
        timeouts:
            create: string
    

    CodeEngineProject 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 CodeEngineProject resource accepts the following input properties:

    CodeEngineProjectId string
    The unique identifier of the code_engine_project.
    Name string
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    ResourceGroupId string
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    Timeouts CodeEngineProjectTimeouts
    CodeEngineProjectId string
    The unique identifier of the code_engine_project.
    Name string
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    ResourceGroupId string
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    Timeouts CodeEngineProjectTimeoutsArgs
    codeEngineProjectId String
    The unique identifier of the code_engine_project.
    name String
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    resourceGroupId String
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    timeouts CodeEngineProjectTimeouts
    codeEngineProjectId string
    The unique identifier of the code_engine_project.
    name string
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    resourceGroupId string
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    timeouts CodeEngineProjectTimeouts
    code_engine_project_id str
    The unique identifier of the code_engine_project.
    name str
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    resource_group_id str
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    timeouts CodeEngineProjectTimeoutsArgs
    codeEngineProjectId String
    The unique identifier of the code_engine_project.
    name String
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    resourceGroupId String
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    timeouts Property Map

    Outputs

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

    AccountId string
    (String) An alphanumeric value identifying the account ID.
    CreatedAt string
    (String) The timestamp when the project was created.
    Crn string
    (String) The CRN of the project.
    Href string
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    ResourceType string
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    Status string
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    AccountId string
    (String) An alphanumeric value identifying the account ID.
    CreatedAt string
    (String) The timestamp when the project was created.
    Crn string
    (String) The CRN of the project.
    Href string
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    ResourceType string
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    Status string
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    accountId String
    (String) An alphanumeric value identifying the account ID.
    createdAt String
    (String) The timestamp when the project was created.
    crn String
    (String) The CRN of the project.
    href String
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    resourceType String
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    status String
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    accountId string
    (String) An alphanumeric value identifying the account ID.
    createdAt string
    (String) The timestamp when the project was created.
    crn string
    (String) The CRN of the project.
    href string
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region string
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    resourceType string
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    status string
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    account_id str
    (String) An alphanumeric value identifying the account ID.
    created_at str
    (String) The timestamp when the project was created.
    crn str
    (String) The CRN of the project.
    href str
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id str
    The provider-assigned unique ID for this managed resource.
    project_id str
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region str
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    resource_type str
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    status str
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    accountId String
    (String) An alphanumeric value identifying the account ID.
    createdAt String
    (String) The timestamp when the project was created.
    crn String
    (String) The CRN of the project.
    href String
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    resourceType String
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    status String
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.

    Look up Existing CodeEngineProject Resource

    Get an existing CodeEngineProject 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?: CodeEngineProjectState, opts?: CustomResourceOptions): CodeEngineProject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            code_engine_project_id: Optional[str] = None,
            created_at: Optional[str] = None,
            crn: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            resource_type: Optional[str] = None,
            status: Optional[str] = None,
            timeouts: Optional[CodeEngineProjectTimeoutsArgs] = None) -> CodeEngineProject
    func GetCodeEngineProject(ctx *Context, name string, id IDInput, state *CodeEngineProjectState, opts ...ResourceOption) (*CodeEngineProject, error)
    public static CodeEngineProject Get(string name, Input<string> id, CodeEngineProjectState? state, CustomResourceOptions? opts = null)
    public static CodeEngineProject get(String name, Output<String> id, CodeEngineProjectState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CodeEngineProject    get:      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:
    AccountId string
    (String) An alphanumeric value identifying the account ID.
    CodeEngineProjectId string
    The unique identifier of the code_engine_project.
    CreatedAt string
    (String) The timestamp when the project was created.
    Crn string
    (String) The CRN of the project.
    Href string
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Name string
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    ProjectId string
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    ResourceGroupId string
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    ResourceType string
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    Status string
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    Timeouts CodeEngineProjectTimeouts
    AccountId string
    (String) An alphanumeric value identifying the account ID.
    CodeEngineProjectId string
    The unique identifier of the code_engine_project.
    CreatedAt string
    (String) The timestamp when the project was created.
    Crn string
    (String) The CRN of the project.
    Href string
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    Name string
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    ProjectId string
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Region string
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    ResourceGroupId string
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    ResourceType string
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    Status string
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    Timeouts CodeEngineProjectTimeoutsArgs
    accountId String
    (String) An alphanumeric value identifying the account ID.
    codeEngineProjectId String
    The unique identifier of the code_engine_project.
    createdAt String
    (String) The timestamp when the project was created.
    crn String
    (String) The CRN of the project.
    href String
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name String
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    projectId String
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    resourceGroupId String
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    resourceType String
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    status String
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    timeouts CodeEngineProjectTimeouts
    accountId string
    (String) An alphanumeric value identifying the account ID.
    codeEngineProjectId string
    The unique identifier of the code_engine_project.
    createdAt string
    (String) The timestamp when the project was created.
    crn string
    (String) The CRN of the project.
    href string
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name string
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    projectId string
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region string
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    resourceGroupId string
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    resourceType string
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    status string
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    timeouts CodeEngineProjectTimeouts
    account_id str
    (String) An alphanumeric value identifying the account ID.
    code_engine_project_id str
    The unique identifier of the code_engine_project.
    created_at str
    (String) The timestamp when the project was created.
    crn str
    (String) The CRN of the project.
    href str
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name str
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    project_id str
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region str
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    resource_group_id str
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    resource_type str
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    status str
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    timeouts CodeEngineProjectTimeoutsArgs
    accountId String
    (String) An alphanumeric value identifying the account ID.
    codeEngineProjectId String
    The unique identifier of the code_engine_project.
    createdAt String
    (String) The timestamp when the project was created.
    crn String
    (String) The CRN of the project.
    href String
    (String) When you provision a new resource, a URL is created identifying the location of the instance.

    • Constraints: The maximum length is 2048 characters. The minimum length is 0 characters. The value must match regular expression /(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    name String
    The name of the project.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/.
    projectId String
    (String) The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    region String
    (String) The region for your project deployment. Possible values: au-syd, br-sao, ca-tor, eu-de, eu-es, eu-gb, jp-osa, jp-tok, us-east, us-south.
    resourceGroupId String
    The ID of the resource group. If this field is not defined, the default resource group of the account will be used.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-z0-9]*$/.
    resourceType String
    (String) The type of the project.

    • Constraints: Allowable values are: project_v2.
    status String
    (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.

    • Constraints: Allowable values are: active, inactive, pending_removal, hard_deleting, hard_deletion_failed, hard_deleted, deleting, deletion_failed, soft_deleted, preparing, creating, creation_failed.
    timeouts Property Map

    Supporting Types

    CodeEngineProjectTimeouts, CodeEngineProjectTimeoutsArgs

    Create string
    Create string
    create String
    create string
    create str
    create String

    Import

    You can import the ibm_code_engine_project resource by using id. The ID of the project.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/codeEngineProject:CodeEngineProject code_engine_project <id>
    ```
    
    

    Example

    $ pulumi import ibm:index/codeEngineProject:CodeEngineProject code_engine_project 4e49b3e0-27a8-48d2-a784-c7ee48bb863b
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud