Skip to content

Commit 6fb90a6

Browse files
committed
update tem application
1 parent 201afe9 commit 6fb90a6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tencentcloud/resource_tc_tem_application.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ func resourceTencentCloudTemApplication() *schema.Resource {
5252

5353
"description": {
5454
Type: schema.TypeString,
55-
Required: true,
55+
Optional: true,
5656
Description: "application description.",
5757
},
5858

5959
"coding_language": {
6060
Type: schema.TypeString,
61-
Optional: true,
62-
Description: "program language.",
61+
Required: true,
62+
Description: "program language, like JAVA.",
6363
},
6464

6565
"use_default_image_service": {
@@ -72,7 +72,7 @@ func resourceTencentCloudTemApplication() *schema.Resource {
7272
"repo_type": {
7373
Type: schema.TypeInt,
7474
Optional: true,
75-
Description: "repo type, 0: tcr personal, 1: tcr enterprise, 2: public repository.",
75+
Description: "repo type, 0: tcr personal, 1: tcr enterprise, 2: public repository, 4: demo image.",
7676
},
7777

7878
"repo_server": {

website/docs/r/tem_application.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ resource "tencentcloud_tem_application" "application" {
3030
The following arguments are supported:
3131

3232
* `application_name` - (Required, String) application name.
33-
* `description` - (Required, String) application description.
34-
* `coding_language` - (Optional, String) program language.
33+
* `coding_language` - (Required, String) program language, like JAVA.
34+
* `description` - (Optional, String) application description.
3535
* `repo_name` - (Optional, String) repository name.
3636
* `repo_server` - (Optional, String) registry address.
37-
* `repo_type` - (Optional, Int) repo type, 0: tcr personal, 1: tcr enterprise, 2: public repository.
37+
* `repo_type` - (Optional, Int) repo type, 0: tcr personal, 1: tcr enterprise, 2: public repository, 4: demo image.
3838
* `use_default_image_service` - (Optional, Int) create image repo or not.
3939

4040
## Attributes Reference

0 commit comments

Comments
 (0)