Skip to content

Commit

Permalink
feat: add resource tencentcloud_organization_org_share_unit
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiMengXS committed Feb 5, 2024
1 parent 23e8e94 commit fa648bb
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions tencentcloud/provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -1641,6 +1641,7 @@ Tencent Cloud Organization (TCO)
tencentcloud_organization_policy_sub_account_attachment
tencentcloud_organization_quit_organization_operation
tencentcloud_organization_org_share_unit
tencentcloud_organization_org_share_unit_member

TDSQL-C for PostgreSQL(TDCPG)
Data Source
Expand Down
58 changes: 58 additions & 0 deletions website/docs/r/organization_org_share_unit_member.html.markdown
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
```

3 changes: 3 additions & 0 deletions website/tencentcloud.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4299,6 +4299,9 @@
<li>
<a href="/docs/providers/tencentcloud/r/organization_org_share_unit.html">tencentcloud_organization_org_share_unit</a>
</li>
<li>
<a href="/docs/providers/tencentcloud/r/organization_org_share_unit_member.html">tencentcloud_organization_org_share_unit_member</a>
</li>
<li>
<a href="/docs/providers/tencentcloud/r/organization_policy_sub_account_attachment.html">tencentcloud_organization_policy_sub_account_attachment</a>
</li>
Expand Down

0 comments on commit fa648bb

Please sign in to comment.