Skip to content

Commit 7a5866a

Browse files
authored
Merge pull request #2116 from tencentcloudstack/feat/rm-tcr-custom-account
adjust doc desc:tencentcloud_tcr_service_account
2 parents bccee7f + b1cc4b7 commit 7a5866a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.changelog/2116.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_tcr_service_account: update the description of the `permissions.actions` field.
3+
```

tencentcloud/resource_tc_tcr_service_account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func resourceTencentCloudTcrServiceAccount() *schema.Resource {
123123
Type: schema.TypeString,
124124
},
125125
Required: true,
126-
Description: "Actions, currently only support: tcr:PushRepository, tcr:PullRepository. Note: This field may return null, indicating that no valid value can be obtained.",
126+
Description: "Actions, currently support: `tcr:PushRepository`, `tcr:PullRepository`, `tcr:CreateRepository`, `tcr:CreateHelmChart`, `tcr:DescribeHelmCharts`. Note: This field may return null, indicating that no valid value can be obtained.",
127127
},
128128
},
129129
},

website/docs/r/tcr_service_account.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The following arguments are supported:
8787

8888
The `permissions` object supports the following:
8989

90-
* `actions` - (Required, Set) Actions, currently only support: tcr:PushRepository, tcr:PullRepository. Note: This field may return null, indicating that no valid value can be obtained.
90+
* `actions` - (Required, Set) Actions, currently support: `tcr:PushRepository`, `tcr:PullRepository`, `tcr:CreateRepository`, `tcr:CreateHelmChart`, `tcr:DescribeHelmCharts`. Note: This field may return null, indicating that no valid value can be obtained.
9191
* `resource` - (Required, String) resource path, currently only supports Namespace. Note: This field may return null, indicating that no valid value can be obtained.
9292

9393
## Attributes Reference

0 commit comments

Comments
 (0)