alicloud_resource_manager_resource_share
更新时间:
Provides a Resource Manager Resource Share resource.
For information about Resource Manager Resource Share and how to use it, see What is Resource Share.
-> NOTE: Available since v1.111.0.
Example Usage
Basic Usage
variable "name" {
default = "tf-example"
}
resource "alicloud_resource_manager_resource_share" "example" {
resource_share_name = var.name
}
Argument Reference
The following arguments are supported:
resource_share_name
- (Required) The name of resource share.
Attributes Reference
The following attributes are exported:
id
- The resource ID in terraform of Resource Share.resource_share_owner
- The owner of the Resource Share.status
- The status of the Resource Share.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 mins) Used when create the Resource Share.update
- (Defaults to 5 mins) Used when update the Resource Share.delete
- (Defaults to 15 mins) Used when delete the Resource Share.
Import
Resource Manager Resource Share can be imported using the id, e.g.
$ terraform import alicloud_resource_manager_resource_share.example <id>
文档内容是否对您有帮助?