如何在描述中定义模块输出
我试图在描述中包含模块输出。是否可以在描述中添加模块输出?
示例:
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
很抱歉,但我认为不可能,您可以尝试扩展字符串中的模块输出,我从未尝试过,但我很确定这是不可接受的。
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.