-
Notifications
You must be signed in to change notification settings - Fork 560
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data-source/alicloud_oss_buckets: Improves the attribute schema tat; …
…docs: Improves the arguments and attributes description and notes
- Loading branch information
Showing
8 changed files
with
96 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,25 +60,33 @@ resource "alicloud_log_resource" "example" { | |
resource "alicloud_log_resource_record" "example" { | ||
resource_name = alicloud_log_resource.example.id | ||
record_id = "user_tf_resource_1" | ||
tag = "resource tag" | ||
record_id = "tf_user_example" | ||
tag = "tf example" | ||
value = <<EOF | ||
{ | ||
"col1": "this is col1 value", | ||
"col2": "col2 value" | ||
} | ||
EOF | ||
{ | ||
"user_name": "tf example", | ||
"sms_enabled": true, | ||
"phone": "18888888889", | ||
"voice_enabled": false, | ||
"email": [ | ||
"[email protected]" | ||
], | ||
"enabled": true, | ||
"user_id": "tf_user", | ||
"country_code": "86" | ||
} | ||
EOF | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `resource_name` - (Required) The name defined in log_resource, log service have some internal resource, like sls.common.user, sls.common.user_group. | ||
* `resource_name` - (Required) The name defined in log_resource, log service have some internal resource, like sls.common.user, sls.common.user_group. More detail see [Resource Data Structure](https://www.alibabacloud.com/help/en/sls/developer-reference/data-structure-of-alert-resource-data). | ||
* `record_id` - (Required, ForceNew) The record's id, should be unique. | ||
* `tag` - (Required) The record's tag, can be used for search. | ||
* `value` - (Required) The json value of record. | ||
* `value` - (Required) The json value of record. More detail see [Resource Data Structure](https://www.alibabacloud.com/help/en/sls/developer-reference/data-structure-of-alert-resource-data). | ||
|
||
## Attributes Reference | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.