SourceCode
Report an Issue

Advanced ElastiCache example

Configuration in this directory creates an ElastiCache Cluster (memcached) with advanced options.

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.