You must be logged in to view saved presets
This template sets up a basic AWS FinSpace Kx Cluster with specific configurations for node type, VPC settings, and database cache.
resource "aws_finspace_kx_cluster" "example" {
availability_zone_id = "use1-az2"
az_mode = "SINGLE"
cache_storage_configurations {
size = 1200
type = "CACHE_1000"
}
capacity_configuration {
node_count = 2
node_type = "kx.s.2xlarge"
}
code {
s3_bucket = "aws_s3_bucket.test.id"
s3_key = "aws_s3_object.object.key"
}
database {
database_name = "aws_finspace_kx_database.example.name"
}
environment_id = "aws_finspace_kx_environment.example.id"
name = "my-tf-kx-cluster"
release_label = "1.0"
type = "HDB"
vpc_configuration {
ip_address_type = "IP_V4"
security_group_ids = ["aws_security_group.example.id"]
subnet_ids = ["aws_subnet.example.id"]
vpc_id = "aws_vpc.test.id"
}
}