Resource: aws_dax_subnet_group

Provides a DAX Subnet Group resource.

Example Usage

resource "aws_dax_subnet_group" "example" {
  name       = "example"
  subnet_ids = [aws_subnet.example1.id, aws_subnet.example2.id]
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

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

Import

In Terraform v1.5.0 and later, use an import block to import DAX Subnet Group using the name. For example:

import {
  to = aws_dax_subnet_group.example
  id = "my_dax_sg"
}

Using terraform import, import DAX Subnet Group using the name. For example:

% terraform import aws_dax_subnet_group.example my_dax_sg