You must be logged in to view saved presets
Configures an AWS FinSpace Kx environment with transit gateway and network ACL for enhanced network security.
resource "aws_ec2_transit_gateway" "example" {
description = "example"
}
resource "aws_finspace_kx_environment" "example_env" {
custom_dns_configuration = ["10.0.0.76", "example.finspace.amazonaws.com"]
description = "Environment description"
kms_key_id = aws_kms_key.example.arn
name = "my-tf-kx-environment"
transit_gateway_configuration {
attachment_network_acl_configuration {
cidr_block = "0.0.0.0/0"
icmp_type_code {
code = -1
type = -1
}
port_range {
from = 53
to = 53
}
protocol = "6"
rule_action = "allow"
rule_number = 1
}
routable_cidr_space = "100.64.0.0/26"
transit_gateway_id = aws_ec2_transit_gateway.example.id
}
}
resource "aws_kms_key" "example" {
deletion_window_in_days = 7
description = "Sample KMS Key"
}