如何在描述中定义模块输出

发布于 2025-01-11 18:44:41 字数 530 浏览 0 评论 0原文

我试图在描述中包含模块输出。是否可以在描述中添加模块输出?

示例:

  description = <<EOF
   application creation failed. Pls check the page and deploy
   Make sure that you are passing the module.application.values
EOF

错误:

Error: Invalid template interpolation value   
   
 
  23: EOF   
    |----------------   
    | module.application.values is object with 7 attributes   
   
Cannot include the given value in a string template: string required.

I'm trying to include module output in the description. Is it possible to add module output in the description?

example:

  description = <<EOF
   application creation failed. Pls check the page and deploy
   Make sure that you are passing the module.application.values
EOF

Error:

Error: Invalid template interpolation value   
   
 
  23: EOF   
    |----------------   
    | module.application.values is object with 7 attributes   
   
Cannot include the given value in a string template: string required.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不爱素颜 2025-01-18 18:44:41

很抱歉,但我认为不可能,您可以尝试扩展字符串中的模块输出,我从未尝试过,但我很确定这是不可接受的。

description = <<EOF
   application creation failed. Pls check the page and deploy
   Make sure that you are passing the ${module.application.values}
EOF

I am sorry but i don't think is possible, you can try expanding the module output in string, i never tried it but i am pretty sure that is not admissible.

description = <<EOF
   application creation failed. Pls check the page and deploy
   Make sure that you are passing the ${module.application.values}
EOF
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文