Skip to content

Commit f3c31c0

Browse files
committed
change doc
1 parent a899ae7 commit f3c31c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tencentcloud/resource_tc_scf_function.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,13 +233,13 @@ func resourceTencentCloudScfFunction() *schema.Resource {
233233
Type: schema.TypeBool,
234234
Optional: true,
235235
Default: false,
236-
Description: "Indicates whether public net config enabled. NOTE: only `vpc_id` specified can disable public net config.",
236+
Description: "Indicates whether public net config enabled. Default `false`. NOTE: only `vpc_id` specified can disable public net config.",
237237
},
238238
"enable_eip_config": {
239239
Type: schema.TypeBool,
240240
Optional: true,
241241
Default: false,
242-
Description: "Indicates whether EIP config set to `ENABLE` when `enable_public_net` was true.",
242+
Description: "Indicates whether EIP config set to `ENABLE` when `enable_public_net` was true. Default `false`.",
243243
},
244244
// cos code
245245
"cos_bucket_name": {

website/docs/r/scf_function.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ The following arguments are supported:
5858
* `cos_bucket_region` - (Optional, String) Cos bucket region of the SCF function, conflict with `zip_file`.
5959
* `cos_object_name` - (Optional, String) Cos object name of the SCF function, should have suffix `.zip` or `.jar`, conflict with `zip_file`.
6060
* `description` - (Optional, String) Description of the SCF function. Description supports English letters, numbers, spaces, commas, newlines, periods and Chinese, the maximum length is 1000.
61-
* `enable_eip_config` - (Optional, Bool) Indicates whether EIP config set to `ENABLE` when `enable_public_net` was true.
62-
* `enable_public_net` - (Optional, Bool) Indicates whether public net config enabled. NOTE: only `vpc_id` specified can disable public net config.
61+
* `enable_eip_config` - (Optional, Bool) Indicates whether EIP config set to `ENABLE` when `enable_public_net` was true. Default `false`.
62+
* `enable_public_net` - (Optional, Bool) Indicates whether public net config enabled. Default `false`. NOTE: only `vpc_id` specified can disable public net config.
6363
* `environment` - (Optional, Map) Environment of the SCF function.
6464
* `image_config` - (Optional, List) Image of the SCF function, conflict with ``.
6565
* `l5_enable` - (Optional, Bool) Enable L5 for SCF function, default is `false`.

0 commit comments

Comments
 (0)