Post-provisioner that outputs build image UUIDs
jwreagor opened this issue · comments
J R commented
There's a lapse in the process going from make build
into make plan
. I'd like the step to be seamless without having to configure image UUIDs within the .terraform.vars
file.
This patch should solve the problem through a post-provisioner. A script should write out the previously built image UUID and generate a new template that is used by Terraform as the .terraform.vars
file.
I don't want a joined make build
that also runs Terraform as that would break the library boundary amongst the two. I'm ok with a script that combines everything as it's own thing at the end of this project.