Resource: aws_neptune_subnet_group

Provides an Neptune subnet group resource.

Example Usage

resource "aws_neptune_subnet_group" "default" {
  name       = "main"
  subnet_ids = [aws_subnet.frontend.id, aws_subnet.backend.id]

  tags = {
    Name = "My neptune subnet group"
  }
}

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 Neptune Subnet groups using the name. For example:

import {
  to = aws_neptune_subnet_group.default
  id = "production-subnet-group"
}

Using terraform import, import Neptune Subnet groups using the name. For example:

% terraform import aws_neptune_subnet_group.default production-subnet-group