You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Terraform documentation for SLS Log resource lacks sufficient detail for its arguments. For example, it mentions:
resource_name (Required): The name defined in log_resource. However, the explanation is vague and only references internal resources like sls.common.user or sls.common.user_group without clear guidance or examples.
I also reached out to Alibaba Cloud support for clarification, but they were unable to provide further details.😐
I discovered additional relevant information in an Aliyun Cloud blog post from March 2022. The blog provides more details on using log_resource_record, and I tested the guidance locally—it worked as expected.
I think keep git file and Aliyun Cloud blog post the same will do. If you agree, I can contribute by making a PR to address this issue.
resource_name (Required): The name defined in log_resource. However, the explanation is vague and only references internal resources like sls.common.user or sls.common.user_group without clear guidance or examples.
from the "Basic example" section, it shows that "resource_name" is a reference to another "alicloud_log_resource." I think it's the intended use case for this terraform resource.
from the "Basic example" section, it shows that "resource_name" is a reference to another "alicloud_log_resource." I think it's the intended use case for this terraform resource.
Yes, the link you provided contains content almost identical to what I shared, though it lacks an example of an alert resource. For some reason, this information is not included in the log_resource_record documentation. It seems this might be intended specifically for SDK development rather than for tf usage.
But in anyway, this file can be and should be able to add to docs.
The Terraform documentation for SLS Log resource lacks sufficient detail for its arguments. For example, it mentions:
resource_name
(Required): The name defined inlog_resource
. However, the explanation is vague and only references internal resources likesls.common.user
orsls.common.user_group
without clear guidance or examples.I also reached out to Alibaba Cloud support for clarification, but they were unable to provide further details.😐
I discovered additional relevant information in an Aliyun Cloud blog post from March 2022. The blog provides more details on using
log_resource_record
, and I tested the guidance locally—it worked as expected.I think keep
git file
and Aliyun Cloud blog post the same will do. If you agree, I can contribute by making a PR to address this issue.SLS日志资源文档里面没有具体写相应的资源。如:
resource_name
(Required): The name defined inlog_resource
. However, the explanation is vague and only references internal resources likesls.common.user
orsls.common.user_group
without clear guidance or examples.我也跟阿里云客服咨询,他们说“我也不太熟”、“详细和准确的信息可以问问社区” (不截图了)😕😕😕😕😕
我在阿里云开发者社区找到了一篇有相关信息的博文。虽然是2022年3月的文章, 我试了一下还是可以用的。
我觉得保持
Github
和 po文 保持一样就行了。 如果可以的话,我可以提一个PR。Affected Resource(s)
SLS
Terraform Configuration Files
The text was updated successfully, but these errors were encountered: