Skip to content

kalenarndt/terraform-hcp-hcp

Repository files navigation

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 data source

Inputs

Name Description Type Default Required
boundary_cluster_name Name of the HCP Boundary cluster that will be created string "" no
boundary_password Boundary administrator password. This will show up in the state file so please be careful string "" no
boundary_user Boundary administrator username string "" no
cloud_provider The cloud provider of the HCP HVN, HCP Vault, or HCP Consul cluster. string "aws" no
connect_enabled Denotes the Consul connect feature should be enabled. Defaults to true bool true no
consul_cluster_name The name (id) of the HCP Consul cluster string "hcp-consul-cluster" no
consul_datacenter The Consul datacenter name. If set to null the datacenter will be set to the Consul cluster name. Defaults to null string "" no
consul_public_endpoint Exposes the Consul cluster to the internet. Defaults to false bool false no
consul_size Size of the HCP Consul nodes - x_small, small, medium, large - x_small only works with development tier string "x_small" no
consul_tier Tier of the HCP Consul cluster - development, standard, plus - x_small only works with development tier string "development" no
create_consul_cluster Flag to create an HCP Consul cluster bool false no
create_vault_cluster Flag to create a Vault cluster bool false no
federation Flag to enable Consul Federation. Defaults to false bool false no
generate_consul_token Flag to generate HCP Consul root token bool false no
generate_vault_token Flag to generate HCP Vault admin token bool false no
hvn_cidr_block CIDR block for the HVN VPC string "172.25.16.0/20" no
hvn_consul_cidr_block CIDR block for the HVN Consul VPC string "172.25.17.0/24" no
hvn_consul_id The ID of the HCP Consul HVN. string "hcp-consul-hvn" no
hvn_id The ID of the HCP HVN. string "hcp-hvn" no
hvn_to_hvn_peering Enables automatic HVN to HVN peering when creating a secondary cluster in Consul Federation. bool true no
hvn_vault_cidr_block CIDR block for the HVN Vault VPC string "172.25.16.0/24" no
hvn_vault_id The ID of the HCP Vault HVN. string "hcp-vault-hvn" no
min_consul_version Minimum Consul version to use when creating the cluster. If null, defaults to HCP recommended version string "" no
min_vault_version Minimum Vault version to use when creating the cluster. If null, defaults to HCP recommended version string "" no
output_boundary_password Conditional that allows for the password to be output as a sensitive value bool false no
output_consul_token Flag to output the generated Consul token as a non-sensitive object. Use with caution bool false no
output_vault_token Flag to output the generated Vault token as a non-sensitive object. Use with caution bool false no
primary_consul_cluster_name Primary Consul cluster name (id) that secondary clusters will be federating with. string "" no
region The region of the HCP HVN and Vault cluster. string "" no
single_hvn Flag that creates a single HVN that is shared between Vault and Consul. Defaults to false bool false no
snapshot_name Name of the Consul Snapshot that will be created string "" no
vault_cluster_name The name (id) of the HCP Vault cluster. string "hcp-vault-cluster" no
vault_primary_cluster_id (Optional) Cluster ID of the HCP Vault Cluster that will be the primary in this configuration string "" no
vault_public_endpoint Exposes the cluster to the internet. Defaults to false bool false no
vault_tier Tier to provision in HCP Vault - dev, standard_small, standard_medium, standard_large string "dev" no

Outputs

Name Description
boundary_auth_id Default auth_id for username and password
boundary_cluster_url Public URL for the HCP Boundary cluster
boundary_password HCP Boundary administrator password
boundary_username HCP Boundary admin username
consul_cert n/a
consul_cluster_id ID of the HCP Consul cluster that was created.
consul_config n/a
consul_datacenter n/a
consul_k8s_token n/a
consul_private_endpoint_url Private Endpoint URL for the HCP Consul cluster
consul_public_endpoint_url Public Endpoint URL for the HCP Consul cluster
consul_size Size of the HCP Consul cluster
consul_tier HCP Consul tier that was deployed
consul_token HCP Consul Admin token
consul_version HCP Consul version
hvn_consul_cidr_block CIDR Block that was configured on the HCP Consul HVN
hvn_consul_link n/a
hvn_single_cidr_block CIDR Block that was configured on the single HCP HVN
hvn_single_link n/a
hvn_vault_cidr_block CIDR Block that was configured on the HCP Vault HVN
hvn_vault_link n/a
vault_cluster_id ID of the HCP Vault cluster that was created
vault_private_endpoint_url Private Endpoint URL for the HCP Vault cluster
vault_public_endpoint_url Public Endpoint URL for the HCP Vault cluster
vault_tier HCP Vault tier that was deployed
vault_token HCP Vault Admin token
vault_version HCP Vault version

About

Terraform module to configure HashiCorp Cloud Platform services

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages