55a4ce2838
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 } } |
||
---|---|---|
.. | ||
scripts | ||
source | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.md | ||
Makefile | ||
README.md | ||
config.rb | ||
packer.json |
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:
- Install Docker if you have not already done so
- 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).