Resource: aws_redshiftserverless_workgroup

Creates a new Amazon Redshift Serverless Workgroup.

Example Usage

resource "aws_redshiftserverless_workgroup" "example" {
  namespace_name = "concurrency-scaling"
  workgroup_name = "concurrency-scaling"
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Config Parameter

Attribute Reference

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

Endpoint

VPC Endpoint

Network Interface

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import Redshift Serverless Workgroups using the workgroup_name. For example:

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

Using terraform import, import Redshift Serverless Workgroups using the workgroup_name. For example:

% terraform import aws_redshiftserverless_workgroup.example example