Skip to content

Commit 455c4f0

Browse files
committed
fix: modify teo func env
1 parent 0978e43 commit 455c4f0

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

tencentcloud/services/teo/resource_tc_teo_function_runtime_environment.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/docs/r/teo_function_runtime_environment.html.markdown

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,14 @@ resource "tencentcloud_teo_function_runtime_environment" "teo_function_runtime_e
3535

3636
The following arguments are supported:
3737

38-
* `environment_variables` - (Required, List) The environment variable list. The function runtime environment supports a maximum of 64 variables. This field is required when the operation type is set to "setEnvironmentVariable", "deleteEnvironmentVariable", or "resetEnvironmentVariable".
38+
* `environment_variables` - (Required, List) The environment variable list.
3939
* `function_id` - (Required, String, ForceNew) ID of the Function.
4040
* `zone_id` - (Required, String, ForceNew) ID of the site.
4141

4242
The `environment_variables` object supports the following:
4343

44-
* `key` - (Required, String) The name of the variable, which is limited to alphanumeric characters and the special characters "@", ".", "-", and "_". It can have a maximum of 64 bytes and should not be duplicated.
45-
* `type` - (Required, String) The type of the variable can have the following values:
46-
- string: Represents a string type.
47-
- json: Represents a JSON object type.
48-
The default value is "string".
44+
* `key` - (Required, String) The name of the variable, which is limited to alphanumeric characters and the special characters `@`, `.`, `-`, and `_`. It can have a maximum of 64 bytes and should not be duplicated.
45+
* `type` - (Required, String) The type of the variable can have the following values: - `string`: Represents a string type. - `json`: Represents a JSON object type.
4946
* `value` - (Required, String) The value of the variable, which is limited to a maximum of 5000 bytes. The default value is empty.
5047

5148
## Attributes Reference

0 commit comments

Comments
 (0)