Avoid overlaying Terraform verbs
The Terraform container is a bit too opinionated. :P
Trying to work around a temporary issue in the Terraform binary. This code should allow various combinations to be used, but it skips the init
functionality, which is critical to recovering the Terraform state. Worse, there's no way to specify apply
as a verb without triggering the stanza that assumes a cache should be used (the bug seems to be with the cache).
Ideally, the wrapper would be restructured so it's possible to call the init functionality to set up the backend but do whatever one wants with Terraform, including calling verbs like apply
with whatever arguments are desired.