SourceCode
Report an Issue

Simple ElastiCache example

Configuration in this directory creates an ElastiCache Cluster (redis) with a simple configuration in a single availability zone.

You can choose to create an ElastiCache Cluster with the following options:

  • Create an ElastiCache Cluster in an existing VPC.
        create_vpc = false
    
  • Create an ElastiCache Cluster in a new VPC.
        create_vpc = true
    

Usage

To run this example you need to execute:

$ terraform init
$ terraform plan
$ terraform apply

Note that this example may create resources which cost money. Run terraform destroy when you don’t need these resources.