hcp

kalenarndt/hcp/hcp

Terraform Module HCL HCP

Terraform module to configure HashiCorp Cloud Platform services

Install
module "hcp" {
source = "kalenarndt/hcp/hcp"
version = "0.1.3"
}
plain text: /constructs/tfmod-kalenarndt-hcp-hcp/install.txt
⭐ Source on GitHub 📦 Registry page
README

Requirements | Name | Version | |------|---------| | terraform | >=1.2.0 | | hcp | >=0.54.0 | | http | ~>3.2.1 | Providers | Name | Version | |------|---------| | hcp | 0.54.0 | | http | 3.2.1 | Modules No modules. Resources | Name | Type | |------|------| | hcp_boundary_cluster.boundary_cluster | resource | | hcp_consul_cluster.consul_cluster | resource | | hcp_consul_cluster_root_token.consul_token | resource | | hcp_consul_snapshot.snapshot | resource | | hcp_hvn.hcp_consul_hvn | resource | | hcp_hvn.hcp_hvn | resource | | hcp_hvn.hcp_vault_hvn | resource | | hcp_vault_cluster.vault_cluster | resource | | hcp_vault_cluster_admin_token.vault_token | resource | | hcp_consul_cluster.primary | data source | | hcp_vault_cluster.external_primary | data source | | http_http.boundary_auth_id |

Inputs (36)
NameTypeDescriptionDefault
vault_public_endpointboolExposes the cluster to the internet. Defaults to falsefalse
create_consul_clusterboolFlag to create an HCP Consul clusterfalse
generate_consul_tokenboolFlag to generate HCP Consul root tokenfalse
hvn_cidr_blockstringCIDR block for the HVN VPC"172.25.16.0/20"
boundary_passwordstringBoundary administrator password. This will show up in the state file so please b""
generate_vault_tokenboolFlag to generate HCP Vault admin tokenfalse
hvn_vault_idstringThe ID of the HCP Vault HVN."hcp-vault-hvn"
connect_enabledboolDenotes the Consul connect feature should be enabled. Defaults to truetrue
consul_tierstringTier of the HCP Consul cluster - development, standard, plus - x_small only work"development"
boundary_cluster_namestringName of the HCP Boundary cluster that will be created""
primary_consul_cluster_namestringPrimary Consul cluster name (id) that secondary clusters will be federating with""
cloud_providerstringThe cloud provider of the HCP HVN, HCP Vault, or HCP Consul cluster."aws"
boundary_cluster_tierstringTier HCP Boundary cluster that will be created""
vault_cluster_namestringThe name (id) of the HCP Vault cluster."hcp-vault-cluster"
output_vault_tokenboolFlag to output the generated Vault token as a non-sensitive object. Use with caufalse
consul_sizestringSize of the HCP Consul nodes - x_small, small, medium, large - x_small only work"x_small"
consul_cluster_namestringThe name (id) of the HCP Consul cluster"hcp-consul-cluster"
snapshot_namestringName of the Consul Snapshot that will be created""
min_vault_versionstringMinimum Vault version to use when creating the cluster. If null, defaults to HCP""
federationboolFlag to enable Consul Federation. Defaults to falsefalse
Outputs (28)
vault_cluster_id — ID of the HCP Vault cluster that was created
hvn_single_cidr_block — CIDR Block that was configured on the single HCP HVN
boundary_password — HCP Boundary administrator password
vault_public_endpoint_url — Public Endpoint URL for the HCP Vault cluster
vault_token — HCP Vault Admin token
boundary_auth_id — Default auth_id for username and password
consul_k8s_token
consul_config
boundary_cluster_id — HCP Boundary cluster ID
consul_datacenter
consul_token — HCP Consul Admin token
hvn_single_link
consul_cert
consul_public_endpoint_url — Public Endpoint URL for the HCP Consul cluster
consul_tier — HCP Consul tier that was deployed
consul_size — Size of the HCP Consul cluster
vault_private_endpoint_url — Private Endpoint URL for the HCP Vault cluster
vault_version — HCP Vault version
hvn_vault_cidr_block — CIDR Block that was configured on the HCP Vault HVN
boundary_cluster_url — Public URL for the HCP Boundary cluster
consul_version — HCP Consul version
hvn_vault_link
hvn_consul_cidr_block — CIDR Block that was configured on the HCP Consul HVN
hvn_consul_link
boundary_username — HCP Boundary admin username
vault_tier — HCP Vault tier that was deployed
consul_cluster_id — ID of the HCP Consul cluster that was created.
consul_private_endpoint_url — Private Endpoint URL for the HCP Consul cluster
Resources (7)
hcp_boundary_clusterhcp_consul_clusterhcp_consul_cluster_root_tokenhcp_consul_snapshothcp_hvnhcp_vault_clusterhcp_vault_cluster_admin_token
Details
FrameworkTerraform Module
LanguageHCL
Version0.1.3
Cloud HCP
Total downloads941
Inputs36
Outputs28
Resources7
Examples4
Namespacekalenarndt
Updated