1. Packages
  2. stackit
  3. API Docs
  4. ResourcemanagerFolder
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

    Resource Manager folder resource schema.

    Example Usage

    resource "stackit_resourcemanager_folder" "example" {
      name                = "example-folder"
      owner_email         = "foo.bar@stackit.cloud"
      parent_container_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    
    # Note:
    # You can add projects under folders.
    # However, when deleting a project, be aware:
    #   - Projects may remain "invisible" for up to 7 days after deletion
    #   - During this time, deleting the parent folder may fail because the project is still technically linked
    resource "stackit_resourcemanager_project" "example_project" {
      name                = "example-project"
      owner_email         = "foo.bar@stackit.cloud"
      parent_container_id = stackit_resourcemanager_folder.example.container_id
    }
    
    # Only use the import statement, if you want to import an existing resourcemanager folder
    # 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_folder.import-example
      id = var.container_id
    }
    

    Create ResourcemanagerFolder Resource

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

    Constructor syntax

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

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

    OwnerEmail string
    Email address of the owner of the folder. 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}.
    Name string
    The name of the folder.
    OwnerEmail string
    Email address of the owner of the folder. 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}.
    Name string
    The name of the folder.
    ownerEmail String
    Email address of the owner of the folder. 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}.
    name String
    The name of the folder.
    ownerEmail string
    Email address of the owner of the folder. 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}.
    name string
    The name of the folder.
    owner_email str
    Email address of the owner of the folder. 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}.
    name str
    The name of the folder.
    ownerEmail String
    Email address of the owner of the folder. 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}.
    name String
    The name of the folder.

    Outputs

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

    ContainerId string
    Folder container ID. Globally unique, user-friendly identifier.
    CreationTime string
    Date-time at which the folder was created.
    FolderId string
    Folder UUID identifier. Globally unique folder identifier
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Date-time at which the folder was last modified.
    ContainerId string
    Folder container ID. Globally unique, user-friendly identifier.
    CreationTime string
    Date-time at which the folder was created.
    FolderId string
    Folder UUID identifier. Globally unique folder identifier
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Date-time at which the folder was last modified.
    containerId String
    Folder container ID. Globally unique, user-friendly identifier.
    creationTime String
    Date-time at which the folder was created.
    folderId String
    Folder UUID identifier. Globally unique folder identifier
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Date-time at which the folder was last modified.
    containerId string
    Folder container ID. Globally unique, user-friendly identifier.
    creationTime string
    Date-time at which the folder was created.
    folderId string
    Folder UUID identifier. Globally unique folder identifier
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime string
    Date-time at which the folder was last modified.
    container_id str
    Folder container ID. Globally unique, user-friendly identifier.
    creation_time str
    Date-time at which the folder was created.
    folder_id str
    Folder UUID identifier. Globally unique folder identifier
    id str
    The provider-assigned unique ID for this managed resource.
    update_time str
    Date-time at which the folder was last modified.
    containerId String
    Folder container ID. Globally unique, user-friendly identifier.
    creationTime String
    Date-time at which the folder was created.
    folderId String
    Folder UUID identifier. Globally unique folder identifier
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Date-time at which the folder was last modified.

    Look up Existing ResourcemanagerFolder Resource

    Get an existing ResourcemanagerFolder 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?: ResourcemanagerFolderState, opts?: CustomResourceOptions): ResourcemanagerFolder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_id: Optional[str] = None,
            creation_time: Optional[str] = None,
            folder_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            owner_email: Optional[str] = None,
            parent_container_id: Optional[str] = None,
            update_time: Optional[str] = None) -> ResourcemanagerFolder
    func GetResourcemanagerFolder(ctx *Context, name string, id IDInput, state *ResourcemanagerFolderState, opts ...ResourceOption) (*ResourcemanagerFolder, error)
    public static ResourcemanagerFolder Get(string name, Input<string> id, ResourcemanagerFolderState? state, CustomResourceOptions? opts = null)
    public static ResourcemanagerFolder get(String name, Output<String> id, ResourcemanagerFolderState state, CustomResourceOptions options)
    resources:  _:    type: stackit:ResourcemanagerFolder    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
    Folder container ID. Globally unique, user-friendly identifier.
    CreationTime string
    Date-time at which the folder was created.
    FolderId string
    Folder UUID identifier. Globally unique folder identifier
    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}.
    Name string
    The name of the folder.
    OwnerEmail string
    Email address of the owner of the folder. 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.
    UpdateTime string
    Date-time at which the folder was last modified.
    ContainerId string
    Folder container ID. Globally unique, user-friendly identifier.
    CreationTime string
    Date-time at which the folder was created.
    FolderId string
    Folder UUID identifier. Globally unique folder identifier
    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}.
    Name string
    The name of the folder.
    OwnerEmail string
    Email address of the owner of the folder. 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.
    UpdateTime string
    Date-time at which the folder was last modified.
    containerId String
    Folder container ID. Globally unique, user-friendly identifier.
    creationTime String
    Date-time at which the folder was created.
    folderId String
    Folder UUID identifier. Globally unique folder identifier
    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}.
    name String
    The name of the folder.
    ownerEmail String
    Email address of the owner of the folder. 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.
    updateTime String
    Date-time at which the folder was last modified.
    containerId string
    Folder container ID. Globally unique, user-friendly identifier.
    creationTime string
    Date-time at which the folder was created.
    folderId string
    Folder UUID identifier. Globally unique folder identifier
    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}.
    name string
    The name of the folder.
    ownerEmail string
    Email address of the owner of the folder. 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.
    updateTime string
    Date-time at which the folder was last modified.
    container_id str
    Folder container ID. Globally unique, user-friendly identifier.
    creation_time str
    Date-time at which the folder was created.
    folder_id str
    Folder UUID identifier. Globally unique folder identifier
    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}.
    name str
    The name of the folder.
    owner_email str
    Email address of the owner of the folder. 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.
    update_time str
    Date-time at which the folder was last modified.
    containerId String
    Folder container ID. Globally unique, user-friendly identifier.
    creationTime String
    Date-time at which the folder was created.
    folderId String
    Folder UUID identifier. Globally unique folder identifier
    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}.
    name String
    The name of the folder.
    ownerEmail String
    Email address of the owner of the folder. 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.
    updateTime String
    Date-time at which the folder 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.