published on Friday, Feb 20, 2026 by stackitcloud
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:
- Owner
Email string - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- Parent
Container stringId - 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.
- Owner
Email string - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- Parent
Container stringId - 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.
- owner
Email String - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- parent
Container StringId - 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.
- owner
Email string - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- parent
Container stringId - 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_ strid - 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.
- owner
Email String - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- parent
Container StringId - 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:
- Container
Id string - Folder container ID. Globally unique, user-friendly identifier.
- Creation
Time string - Date-time at which the folder was created.
- Folder
Id string - Folder UUID identifier. Globally unique folder identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Date-time at which the folder was last modified.
- Container
Id string - Folder container ID. Globally unique, user-friendly identifier.
- Creation
Time string - Date-time at which the folder was created.
- Folder
Id string - Folder UUID identifier. Globally unique folder identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Date-time at which the folder was last modified.
- container
Id String - Folder container ID. Globally unique, user-friendly identifier.
- creation
Time String - Date-time at which the folder was created.
- folder
Id String - Folder UUID identifier. Globally unique folder identifier
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Date-time at which the folder was last modified.
- container
Id string - Folder container ID. Globally unique, user-friendly identifier.
- creation
Time string - Date-time at which the folder was created.
- folder
Id string - Folder UUID identifier. Globally unique folder identifier
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time 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.
- container
Id String - Folder container ID. Globally unique, user-friendly identifier.
- creation
Time String - Date-time at which the folder was created.
- folder
Id String - Folder UUID identifier. Globally unique folder identifier
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time 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) -> ResourcemanagerFolderfunc 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.
- Container
Id string - Folder container ID. Globally unique, user-friendly identifier.
- Creation
Time string - Date-time at which the folder was created.
- Folder
Id 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.
- Owner
Email string - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- Parent
Container stringId - Parent resource identifier. Both container ID (user-friendly) and UUID are supported.
- Update
Time string - Date-time at which the folder was last modified.
- Container
Id string - Folder container ID. Globally unique, user-friendly identifier.
- Creation
Time string - Date-time at which the folder was created.
- Folder
Id 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.
- Owner
Email string - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- Parent
Container stringId - Parent resource identifier. Both container ID (user-friendly) and UUID are supported.
- Update
Time string - Date-time at which the folder was last modified.
- container
Id String - Folder container ID. Globally unique, user-friendly identifier.
- creation
Time String - Date-time at which the folder was created.
- folder
Id 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.
- owner
Email String - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- parent
Container StringId - Parent resource identifier. Both container ID (user-friendly) and UUID are supported.
- update
Time String - Date-time at which the folder was last modified.
- container
Id string - Folder container ID. Globally unique, user-friendly identifier.
- creation
Time string - Date-time at which the folder was created.
- folder
Id 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.
- owner
Email string - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- parent
Container stringId - Parent resource identifier. Both container ID (user-friendly) and UUID are supported.
- update
Time 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_ strid - Parent resource identifier. Both container ID (user-friendly) and UUID are supported.
- update_
time str - Date-time at which the folder was last modified.
- container
Id String - Folder container ID. Globally unique, user-friendly identifier.
- creation
Time String - Date-time at which the folder was created.
- folder
Id 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.
- owner
Email String - Email address of the owner of the folder. This value is only considered during creation. Changing it afterwards will have no effect.
- parent
Container StringId - Parent resource identifier. Both container ID (user-friendly) and UUID are supported.
- update
Time 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
stackitTerraform Provider.
published on Friday, Feb 20, 2026 by stackitcloud
