terraform/website
Derrick Petzold 55a4ce2838 Feature request: Support for ElastiCache Redis cluster mode #9419
Added support for provisioning a native redis cluster elasticache replication group.
A new TypeSet attribute `cluster_mode` has been added. It requires the following
fields:

  - `replicas_per_node_group` - The number of replica nodes in each node group
  - `num_node_groups` - The number of node groups for this Redis replication group

Notes:

  - `automatic_failover_enabled` must be set to true.
  - `number_cache_clusters` is now a optional and computed field. If `cluster_mode` is set
    its value will be computed as:
 	  ```num_node_groups + num_node_groups * replicas_per_node_group```

Below is a sample config:

  resource "aws_elasticache_replication_group" "bar" {
      replication_group_id = "tf-redis-cluser"
      replication_group_description = "test description"
      node_type = "cache.t2.micro"
      port = 6379
      parameter_group_name = "default.redis3.2.cluster.on"
      automatic_failover_enabled = true
      cluster_mode {
          replicas_per_node_group = 1
          num_node_groups = 2
      }
  }
2017-05-09 20:37:28 +03:00
..
scripts Re-enable soft purging, stale-if-error 2017-03-01 12:38:09 -05:00
source Feature request: Support for ElastiCache Redis cluster mode #9419 2017-05-09 20:37:28 +03:00
Gemfile Update basic scaffolding 2017-04-06 14:08:37 -04:00
Gemfile.lock Update basic scaffolding 2017-04-06 14:08:37 -04:00
LICENSE.md Update license 2017-03-08 11:38:20 -08:00
Makefile Update basic scaffolding 2017-04-06 14:08:37 -04:00
README.md update website readme to note 🐳 docker requirement 2017-05-02 15:03:11 -07:00
config.rb v0.9.4 2017-04-26 12:35:28 +00:00
packer.json Update basic scaffolding 2017-04-06 14:08:37 -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:

  1. Install Docker if you have not already done so
  2. Clone this repo and run make website

Then open up http://localhost:4567. Note that some URLs you may need to append ".html" to make them work (in the navigation).