![]() Building on the work of #3846, deprecate `filename` in favor of a `template` attribute that accepts file contents instead of a path. Required a bit of work in the interpolation code to prevent Terraform from assuming that template interpolations were resource variables that needed to be resolved. Leaving them as "Unknown Variables" prevents interpolation from happening early and lets the `template_file` resource do its thing. |
||
---|---|---|
.. | ||
helpers | ||
source | ||
.buildpacks | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.md | ||
Makefile | ||
Procfile | ||
README.md | ||
Vagrantfile | ||
config.rb | ||
config.ru |
README.md
Terraform Website
This subdirectory contains the entire source for the Terraform Website. This is a Middleman project, which builds a static site from these source files.
Contributions Welcome
If you find a typo or you feel like you can improve the HTML, CSS, or JavaScript, we welcome contributions. Feel free to open issues or pull requests like any normal GitHub project, and we'll merge it in.
Running the Site Locally
Running the site locally is simple. First you need a working copy of Ruby >= 2.0 and Bundler. Then you can clone this repo and run make dev
.
Then open up http://localhost:4567
. Note that some URLs you may need to append
".html" to make them work (in the navigation).