Skip to content

DRY code #293

Answered by holzensp
pedrodsrodrigues asked this question in Q&A
Mar 5, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

To use Pkl with Terraform, I recommend using their .tf.json format. Still, your example is hard to DRY-up, considering it just consumes one file per app; the only thing that will DRY that up is using glob imports.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@pedrodsrodrigues
Comment options

@holzensp
Comment options

Answer selected by pedrodsrodrigues
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants