Resource: aws_dax_cluster

Provides a DAX Cluster resource.

Example Usage

resource "aws_dax_cluster" "bar" {
  cluster_name       = "cluster-example"
  iam_role_arn       = data.aws_iam_role.example.arn
  node_type          = "dax.r4.large"
  replication_factor = 1
}

Argument Reference

This resource supports the following arguments:

The server_side_encryption object supports the following:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import DAX Clusters using the cluster_name. For example:

import {
  to = aws_dax_cluster.my_cluster
  id = "my_cluster"
}

Using terraform import, import DAX Clusters using the cluster_name. For example:

% terraform import aws_dax_cluster.my_cluster my_cluster