hashicorp / waypoint-examples

Example Apps that can be deployed with Waypoint
Mozilla Public License 2.0
325 stars 90 forks source link

terraform variables example #106

Closed izaaklauer closed 1 year ago

izaaklauer commented 1 year ago

Merge after https://github.com/hashicorp/waypoint/pull/4357 is released.

Minimal demonstration of terraform config vars.

This is very much a contrived use-case, populating docker env vars and labels from terraform cloud output. Using this feature is complicated enough as it is (see the README), and real practical usage involves much more complicated terraform, so this serves as a minimal syntax example.

In the future, we intend to publish a more complete use-case, which we could link to from here.