Skip to content

Replacing number value in template #1187

Answered by hairyhenderson
Tobi0322 asked this question in Q&A
Discussion options

You must be logged in to vote

@Tobi0322 It looks like you're trying to use the datasource as a template. Is there a reason not to simply make it the template?

Something like:

{
     ...,
     "cpu": {{ (ds "config").AWS_CPU }},
     ...
}

If that doesn't make sense, maybe you could provide more context (the full command, as well as all datasources)...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tobi0322
Comment options

Answer selected by hairyhenderson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants