Resource: aws_redshift_hsm_configuration

Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM).

Example Usage

resource "aws_redshift_hsm_configuration" "example" {
  description                   = "example"
  hsm_configuration_identifier  = "example"
  hsm_ip_address                = "10.0.0.1"
  hsm_partition_name            = "aws"
  hsm_partition_password        = "example"
  hsm_server_public_certificate = "example"
}

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 Redshift HSM Client Certificates using hsm_configuration_identifier. For example:

import {
  to = aws_redshift_hsm_configuration.test
  id = "example"
}

Using terraform import, import Redshift HSM Client Certificates using hsm_configuration_identifier. For example:

% terraform import aws_redshift_hsm_configuration.example example