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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
Currently you can't interpolate build variables such as {{ .HTTPIP }} in http_content values. If you try to use one, the rendered value is no value.
Use Case(s)
I'd like to use {{ .SSHPublicKey }} in http_content so that it can be used in cloud-init metadata, but I can think of any number of why you'd want to interpolate build variables directly into HTTP content. The background is I'm trying to use a Debian cloud image locally to mock the AWS image we normally use. In those images, cloud-init is the only entrypoint.
Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Description
Currently you can't interpolate build variables such as
{{ .HTTPIP }}
inhttp_content
values. If you try to use one, the rendered value isno value
.Use Case(s)
I'd like to use
{{ .SSHPublicKey }}
inhttp_content
so that it can be used in cloud-init metadata, but I can think of any number of why you'd want to interpolate build variables directly into HTTP content. The background is I'm trying to use a Debian cloud image locally to mock the AWS image we normally use. In those images, cloud-init is the only entrypoint.Potential configuration
Potential References
#109
The text was updated successfully, but these errors were encountered: