'How to define module output in the description
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.
Solution 1:[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.
description = <<EOF
application creation failed. Pls check the page and deploy
Make sure that you are passing the ${module.application.values}
EOF
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |