terraform/website
Martin Atkins ef161e1c1b Various interpolation functions for CIDR range manipulation.
These new functions allow Terraform to be used for network address space
planning tasks, and make it easier to produce reusable modules that
contain or depend on network infrastructure.

For example:
- cidrsubnet allows an aws_subnet to derive its
  CIDR prefix from its parent aws_vpc.
- cidrhost allows a fixed IP address for a resource to be assigned within
  an address range defined elsewhere.
- cidrnetmask provides the dotted-decimal form of a prefix length that is
  accepted by some systems such as routing tables and static network
  interface configuration files.

The bulk of the work here is done by an external library I authored called
go-cidr. It is MIT licensed and was implemented primarily for the purpose
of using it within Terraform. It has its own unit tests and so the unit
tests within this change focus on simple success cases and on the correct
handling of the various error cases.
2015-10-22 08:10:52 -07:00
..
helpers Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
source Various interpolation functions for CIDR range manipulation. 2015-10-22 08:10:52 -07:00
.buildpacks website: initial commit 2014-07-16 17:51:48 -04:00
Gemfile Fix issues building documentation behind corporate filewall on Windows. 2015-07-09 11:07:45 -04:00
Gemfile.lock bundle update middleman-hashicorp 2015-10-12 15:00:43 -04:00
LICENSE.md website: initial commit 2014-07-16 17:51:48 -04:00
Makefile fix Makefile 2015-09-24 11:48:52 -07:00
Procfile website: initial commit 2014-07-16 17:51:48 -04:00
README.md Update README to point to Makefile 2015-09-24 09:57:38 -07:00
Vagrantfile Fix issues building documentation behind corporate filewall on Windows. 2015-07-09 11:07:45 -04:00
config.rb add github slug to website config 2015-10-12 15:01:06 -04:00
config.ru Add Rack::Protection 2015-07-13 12:50:17 -04:00

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).