vault-aws-tgw

btkrausen/vault-aws-tgw/hcp

Terraform Module HCL HCP

Module used to provision HCP Vault on AWS using Transit Gateway

Install
module "vault-aws-tgw" {
source = "btkrausen/vault-aws-tgw/hcp"
version = "1.0.0"
}
plain text: /constructs/tfmod-btkrausen-vault-aws-tgw-hcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

hcp-vault-aws-tgw-module This module is designed to provision a HashiCorp Virtual Network as well as a new HCP Vault cluster. Connectivity from the HCP environment is done using a Transit Gateway. Since most organizations already have an established network strategy, or the network stack is defined in another Terraform configuration, this module assumes the following: The VPC in the targeted account (Network account) already exists The Transit Gateway in the targeted account (Network account) already exists A private route table exists for the VPC in the targeted account An example .tfvars file is included to configure values of required variables. !Vault * Requirements | Name | Version | |------|---------| | hcp | 0.41.0 | Providers | Name | Version | |------|---------| | aws | n/a | | hc

Inputs (11)
NameTypeDescriptionDefault
hvn_idstringName/ID of the HVN Network - displays in the UI required
vault_tierstringTier of the HCP Vault cluster. Valid options for tiers - dev, starter_small, sta required
client_idstringClient ID for HCP Organization required
client_secretstringClient Secret for HCP Organization required
vpc_idstringVPC ID of an existing VPC in the Network (Transit) account required
tgw_idstringThe ID of the existing TGW in your AWS network/transit account required
route_table_idstringThe private route table in the network/transit account to route data to the HVN required
hvn_cidrstringThe CIDR block for HashiCorp Virtual Network"172.31.0.0/16"
cluster_idstringThe ID of the Vault cluster"primary-vault-cluster"
aws_cloud_regionstringAWS Cloud Region that HCP Vault will be connected to"us-east-1"
public_vaultboolShould this Vault cluster have a public endpoint?false
Resources (9)
aws_ec2_transit_gateway_vpc_attachment_accepteraws_ram_principal_associationaws_ram_resource_associationaws_ram_resource_shareaws_routehcp_aws_transit_gateway_attachmenthcp_hvnhcp_hvn_routehcp_vault_cluster
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud HCP
★ Stars13
Forks8
Total downloads28
Inputs11
Resources9
Namespacebtkrausen
Updated