Skip to content

Commit 595133a

Browse files
author
WeiMengXS
committed
feat: doc
1 parent ab74239 commit 595133a

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

tencentcloud/resource_tc_scf_trigger_config.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
/*
22
Provides a resource to create a scf trigger_config
33
4-
# Example Usage
4+
Example Usage
55
66
```hcl
77
8-
resource "tencentcloud_scf_trigger_config" "trigger_config" {
9-
enable = "OPEN"
10-
function_name = "keep-1676351130"
11-
trigger_name = "SCF-timer-1685540160"
12-
type = "timer"
13-
qualifier = "$DEFAULT"
14-
namespace = "default"
15-
trigger_desc = "* 1 2 * * * *"
16-
description = "func"
17-
custom_argument = "Information"
18-
}
8+
resource "tencentcloud_scf_trigger_config" "trigger_config" {
9+
enable = "OPEN"
10+
function_name = "keep-1676351130"
11+
trigger_name = "SCF-timer-1685540160"
12+
type = "timer"
13+
qualifier = "$DEFAULT"
14+
namespace = "default"
15+
trigger_desc = "* 1 2 * * * *"
16+
description = "func"
17+
custom_argument = "Information"
18+
}
1919
2020
```
2121
22-
# Import
22+
Import
2323
2424
scf trigger_config can be imported using the id, e.g.
2525

website/docs/r/scf_trigger_config.html.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ resource "tencentcloud_scf_trigger_config" "trigger_config" {
3131

3232
The following arguments are supported:
3333

34-
* `function_name` - (Required, String, ForceNew) function name.
35-
* `trigger_name` - (Required, String, ForceNew) trigger Name.
36-
* `type` - (Required, String) trigger type.
34+
* `function_name` - (Required, String, ForceNew) Function name.
35+
* `trigger_name` - (Required, String, ForceNew) Trigger Name.
36+
* `type` - (Required, String) Trigger type.
3737
* `custom_argument` - (Optional, String) User Additional Information.
3838
* `description` - (Optional, String) Trigger description.
39-
* `enable` - (Optional, String) The trigger is turned on or off, and the parameter passed as OPEN is turned on, and CLOSE is turned off.
40-
* `namespace` - (Optional, String, ForceNew) function namespace.
39+
* `enable` - (Optional, String) Status of trigger. Values: OPEN (enabled); CLOSE disabled).
40+
* `namespace` - (Optional, String, ForceNew) Function namespace.
4141
* `qualifier` - (Optional, String) Function version. It defaults to `$LATEST`. It's recommended to use `[$DEFAULT](https://intl.cloud.tencent.com/document/product/583/36149?from_cn_redirect=1#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)` for canary release.
4242
* `trigger_desc` - (Optional, String) TriggerDesc parameter.
4343

0 commit comments

Comments
 (0)