-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add resource tencentcloud_organization_org_share_unit
- Loading branch information
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
website/docs/r/organization_org_share_unit_member.html.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
subcategory: "Tencent Cloud Organization (TCO)" | ||
layout: "tencentcloud" | ||
page_title: "TencentCloud: tencentcloud_organization_org_share_unit_member" | ||
sidebar_current: "docs-tencentcloud-resource-organization_org_share_unit_member" | ||
description: |- | ||
Provides a resource to create a organization org_share_unit_member | ||
--- | ||
|
||
# tencentcloud_organization_org_share_unit_member | ||
|
||
Provides a resource to create a organization org_share_unit_member | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "tencentcloud_organization_org_share_unit" "org_share_unit" { | ||
name = "iac-test" | ||
area = "ap-guangzhou" | ||
description = "iac-test" | ||
} | ||
resource "tencentcloud_organization_org_share_unit_member" "org_share_unit_member" { | ||
unit_id = tencentcloud_organization_org_share_unit.org_share_unit.unit_id | ||
area = tencentcloud_organization_org_share_unit.org_share_unit.area | ||
members { | ||
share_member_uin = 100035309479 | ||
} | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `area` - (Required, String, ForceNew) Shared unit region. | ||
* `members` - (Required, List, ForceNew) Shared member list. Up to 10 items. | ||
* `unit_id` - (Required, String, ForceNew) Shared unit ID. | ||
|
||
The `members` object supports the following: | ||
|
||
* `share_member_uin` - (Required, Int) Member uin. | ||
|
||
## Attributes Reference | ||
|
||
In addition to all arguments above, the following attributes are exported: | ||
|
||
* `id` - ID of the resource. | ||
|
||
|
||
|
||
## Import | ||
|
||
organization org_share_unit_member can be imported using the id, e.g. | ||
|
||
``` | ||
terraform import tencentcloud_organization_org_share_unit_member.org_share_unit_member org_share_unit_member_id | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters