alicloud_resource_manager_resource_directory

Provides a Resource Manager Resource Directory resource. Resource Directory enables you to establish an organizational structure for the resources used by applications of your enterprise. You can plan, build, and manage the resources in a centralized manner by using only one resource directory.

For information about Resource Manager Resource Directory and how to use it, see What is Resource Manager Resource Directory.

Basic Usage

data "alicloud_resource_manager_resource_directories" "default" {
}

resource "alicloud_resource_manager_resource_directory" "default" {
  count  = length(data.alicloud_resource_manager_resource_directories.default.directories) > 0 ? 0 : 1
  status = "Enabled"
}

Argument Reference

The following arguments are supported:

Attributes Reference

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

Resource Manager Resource Directory can be imported using the id, e.g.

$ terraform import alicloud_resource_manager_resource_directory.example rd-s3****