I'll be nice to have a terraform reource to manage nomad-pack templates.
Nomad-pack made nomad jobs reusable by providing a templating mechanism, but currently there's no "standard" way of storing nomad-pack deployments as code. You can always save the version and registry and run a bash command, but that's not very elegant.
Having a nomad-pack resource on terraform could have the following improvements:
Store as IaC nomad-pack deployments.
Use imputs from other terraform resources.
Have nomad deployments in the same pipeline and same tool/configurtion as other IaC.
I'll be nice to have a terraform reource to manage nomad-pack templates.
Nomad-pack made nomad jobs reusable by providing a templating mechanism, but currently there's no "standard" way of storing nomad-pack deployments as code. You can always save the version and registry and run a bash command, but that's not very elegant.
Having a nomad-pack resource on terraform could have the following improvements:
The resource could be something like this:
To set the diff, maybe it could be usefull to store in terraform the rendered job and use that for the diff.