Resource: aws_finspace_kx_database

Terraform resource for managing an AWS FinSpace Kx Database.

Example Usage

Basic Usage

resource "aws_kms_key" "example" {
  description             = "Example KMS Key"
  deletion_window_in_days = 7
}

resource "aws_finspace_kx_environment" "example" {
  name       = "my-tf-kx-environment"
  kms_key_id = aws_kms_key.example.arn
}

resource "aws_finspace_kx_database" "example" {
  environment_id = aws_finspace_kx_environment.example.id
  name           = "my-tf-kx-database"
  description    = "Example database description"
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Attribute Reference

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

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import an AWS FinSpace Kx Database using the id (environment ID and database name, comma-delimited). For example:

import {
  to = aws_finspace_kx_database.example
  id = "n3ceo7wqxoxcti5tujqwzs,my-tf-kx-database"
}

Using terraform import, import an AWS FinSpace Kx Database using the id (environment ID and database name, comma-delimited). For example:

% terraform import aws_finspace_kx_database.example n3ceo7wqxoxcti5tujqwzs,my-tf-kx-database