- 预审中
- 2 预审不通过
【功能建议】【huaweicloud_cdn_domain】VoD Batch (2 items): CDN resource con... 预审不通过 编辑 删除
- 华为云码道(CodeArts)代码智能体
- 软件开发生产线 CodeArts
来源: GitCode Issue #155 by gyqi (https://gitcode.com/developer-skill/vod-skill/issues/155)
Total 2 feedback item(s), submitted together:
1. CDN resource configuration syntax error: 'origin' argument required, 'origin_domain' not supported; 'cache_rules' block not expected inside 'cache_settings'
To Reproduce 在生成静态网站托管 Terraform 配置时,为 CDN 域名资源配置了错误的参数名 origin_domain(应为 origin),以及错误的 cache_settings 嵌套结构
Expected behavior Terraform provider 文档应提供准确的参数名称,或 agent 应能自动获取正确的 schema
``` Error: Missing required argument on main.tf line 168: sources { ... } The argument "origin" is required, but no definition was found.
Error: Unsupported argument on main.tf line 169: origin_domain = ... An argument named "origin_domain" is not expected here.
Error: Unsupported block type on main.tf line 175: cache_rules { ... } Blocks of type "cache_rules" are not expected here. ```
---
2. Terraform init failed: hashicorp/random provider not found in Huawei Cloud mirror
To Reproduce 配置 TF_CLI_CONFIG_FILE 指向华为云镜像后,terraform init 失败,因为 hashicorp/random provider 不在华为云镜像中
Expected behavior 华为云镜像应包含常用 Terraform providers,或文档应明确说明镜像范围并提供多源配置示例
``` Error: Failed to query available provider packages provider registry.terraform.io/hashicorp/random was not found in any of the search locations
Cause: Huawei Cloud mirror only includes huaweicloud/* providers, not hashicorp/* providers ```
---
yd_242696932
发布于 2026-07-07 07:38:35
2026-07-07
8 1
0/1000
仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB
删除建议
全部评论(1)
评论(1)
非常感谢您的反馈,为了能更准确的定位反馈内容,还请提供相关云服务名称、对应的问题详细描述以及需要解决问题,并附带截图以及链接地址等,以便我们尽快核实并推动解决,感谢您对华为云的支持!