1. Packages
  2. stackit
  3. API Docs
  4. ResourcemanagerProject
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    Example Usage

    resource "stackit_resourcemanager_project" "example" {
      parent_container_id = "example-parent-container-abc123"
      name                = "example-container"
      labels = {
        "Label 1" = "foo"
        // "networkArea" = stackit_network_area.foo.network_area_id
      }
      owner_email = "john.doe@stackit.cloud"
    }
    
    # Only use the import statement, if you want to import an existing resourcemanager project
    # Note: There will be a conflict which needs to be resolved manually.
    # Must set a configuration value for the owner_email attribute as the provider has marked it as required.
    import {
      to = stackit_resourcemanager_project.import-example
      id = var.container_id
    }
    

    Create ResourcemanagerProject Resource

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

    Constructor syntax

    new ResourcemanagerProject(name: string, args: ResourcemanagerProjectArgs, opts?: CustomResourceOptions);
    @overload
    def ResourcemanagerProject(resource_name: str,
                               args: ResourcemanagerProjectArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourcemanagerProject(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               owner_email: Optional[str] = None,
                               parent_container_id: Optional[str] = None,
                               labels: Optional[Mapping[str, str]] = None,
                               name: Optional[str] = None)
    func NewResourcemanagerProject(ctx *Context, name string, args ResourcemanagerProjectArgs, opts ...ResourceOption) (*ResourcemanagerProject, error)
    public ResourcemanagerProject(string name, ResourcemanagerProjectArgs args, CustomResourceOptions? opts = null)
    public ResourcemanagerProject(String name, ResourcemanagerProjectArgs args)
    public ResourcemanagerProject(String name, ResourcemanagerProjectArgs args, CustomResourceOptions options)
    
    type: stackit:ResourcemanagerProject
    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 ResourcemanagerProjectArgs
    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 ResourcemanagerProjectArgs
    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 ResourcemanagerProjectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourcemanagerProjectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourcemanagerProjectArgs
    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 resourcemanagerProjectResource = new Stackit.ResourcemanagerProject("resourcemanagerProjectResource", new()
    {
        OwnerEmail = "string",
        ParentContainerId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := stackit.NewResourcemanagerProject(ctx, "resourcemanagerProjectResource", &stackit.ResourcemanagerProjectArgs{
    	OwnerEmail:        pulumi.String("string"),
    	ParentContainerId: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var resourcemanagerProjectResource = new ResourcemanagerProject("resourcemanagerProjectResource", ResourcemanagerProjectArgs.builder()
        .ownerEmail("string")
        .parentContainerId("string")
        .labels(Map.of("string", "string"))
        .name("string")
        .build());
    
    resourcemanager_project_resource = stackit.ResourcemanagerProject("resourcemanagerProjectResource",
        owner_email="string",
        parent_container_id="string",
        labels={
            "string": "string",
        },
        name="string")
    
    const resourcemanagerProjectResource = new stackit.ResourcemanagerProject("resourcemanagerProjectResource", {
        ownerEmail: "string",
        parentContainerId: "string",
        labels: {
            string: "string",
        },
        name: "string",
    });
    
    type: stackit:ResourcemanagerProject
    properties:
        labels:
            string: string
        name: string
        ownerEmail: string
        parentContainerId: string
    

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

    OwnerEmail string
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    ParentContainerId string
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    Name string
    Project name.
    OwnerEmail string
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    ParentContainerId string
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    Name string
    Project name.
    ownerEmail String
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    parentContainerId String
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    name String
    Project name.
    ownerEmail string
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    parentContainerId string
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    name string
    Project name.
    owner_email str
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    parent_container_id str
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    name str
    Project name.
    ownerEmail String
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    parentContainerId String
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    name String
    Project name.

    Outputs

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

    ContainerId string
    Project container ID. Globally unique, user-friendly identifier.
    CreationTime string
    Date-time at which the project was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    UpdateTime string
    Date-time at which the project was last modified.
    ContainerId string
    Project container ID. Globally unique, user-friendly identifier.
    CreationTime string
    Date-time at which the project was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    UpdateTime string
    Date-time at which the project was last modified.
    containerId String
    Project container ID. Globally unique, user-friendly identifier.
    creationTime String
    Date-time at which the project was created.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    updateTime String
    Date-time at which the project was last modified.
    containerId string
    Project container ID. Globally unique, user-friendly identifier.
    creationTime string
    Date-time at which the project was created.
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    updateTime string
    Date-time at which the project was last modified.
    container_id str
    Project container ID. Globally unique, user-friendly identifier.
    creation_time str
    Date-time at which the project was created.
    id str
    The provider-assigned unique ID for this managed resource.
    project_id str
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    update_time str
    Date-time at which the project was last modified.
    containerId String
    Project container ID. Globally unique, user-friendly identifier.
    creationTime String
    Date-time at which the project was created.
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    updateTime String
    Date-time at which the project was last modified.

    Look up Existing ResourcemanagerProject Resource

    Get an existing ResourcemanagerProject 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?: ResourcemanagerProjectState, opts?: CustomResourceOptions): ResourcemanagerProject
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_id: Optional[str] = None,
            creation_time: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            owner_email: Optional[str] = None,
            parent_container_id: Optional[str] = None,
            project_id: Optional[str] = None,
            update_time: Optional[str] = None) -> ResourcemanagerProject
    func GetResourcemanagerProject(ctx *Context, name string, id IDInput, state *ResourcemanagerProjectState, opts ...ResourceOption) (*ResourcemanagerProject, error)
    public static ResourcemanagerProject Get(string name, Input<string> id, ResourcemanagerProjectState? state, CustomResourceOptions? opts = null)
    public static ResourcemanagerProject get(String name, Output<String> id, ResourcemanagerProjectState state, CustomResourceOptions options)
    resources:  _:    type: stackit:ResourcemanagerProject    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:
    ContainerId string
    Project container ID. Globally unique, user-friendly identifier.
    CreationTime string
    Date-time at which the project was created.
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    Name string
    Project name.
    OwnerEmail string
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    ParentContainerId string
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    ProjectId string
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    UpdateTime string
    Date-time at which the project was last modified.
    ContainerId string
    Project container ID. Globally unique, user-friendly identifier.
    CreationTime string
    Date-time at which the project was created.
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    Name string
    Project name.
    OwnerEmail string
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    ParentContainerId string
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    ProjectId string
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    UpdateTime string
    Date-time at which the project was last modified.
    containerId String
    Project container ID. Globally unique, user-friendly identifier.
    creationTime String
    Date-time at which the project was created.
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    name String
    Project name.
    ownerEmail String
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    parentContainerId String
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    projectId String
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    updateTime String
    Date-time at which the project was last modified.
    containerId string
    Project container ID. Globally unique, user-friendly identifier.
    creationTime string
    Date-time at which the project was created.
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    name string
    Project name.
    ownerEmail string
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    parentContainerId string
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    projectId string
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    updateTime string
    Date-time at which the project was last modified.
    container_id str
    Project container ID. Globally unique, user-friendly identifier.
    creation_time str
    Date-time at which the project was created.
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    name str
    Project name.
    owner_email str
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    parent_container_id str
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    project_id str
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    update_time str
    Date-time at which the project was last modified.
    containerId String
    Project container ID. Globally unique, user-friendly identifier.
    creationTime String
    Date-time at which the project was created.
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container. A label key must match the regex [A-ZÄÜÖa-zäüöß0-9_-]{1,64}. A label value must match the regex ^$|[A-ZÄÜÖa-zäüöß0-9_-]{1,64}.
    To create a project within a STACKIT Network Area, setting the label networkArea=<networkAreaID> is required. This can not be changed after project creation.
    name String
    Project name.
    ownerEmail String
    Email address of the owner of the project. This value is only considered during creation. Changing it afterwards will have no effect.
    parentContainerId String
    Parent resource identifier. Both container ID (user-friendly) and UUID are supported
    projectId String
    Project UUID identifier. This is the ID that can be used in most of the other resources to identify the project.
    updateTime String
    Date-time at which the project was last modified.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.