Resource: aws_redshift_endpoint_access

Creates a new Amazon Redshift endpoint access.

Example Usage

resource "aws_redshift_endpoint_access" "example" {
  endpoint_name      = "example"
  subnet_group_name  = aws_redshift_subnet_group.example.id
  cluster_identifier = aws_redshift_cluster.example.cluster_identifier
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

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

VPC Endpoint

Network Interface

Import

In Terraform v1.5.0 and later, use an import block to import Redshift endpoint access using the name. For example:

import {
  to = aws_redshift_endpoint_access.example
  id = "example"
}

Using terraform import, import Redshift endpoint access using the name. For example:

% terraform import aws_redshift_endpoint_access.example example