hcp
kalenarndt/hcp/hcp
Terraform module to configure HashiCorp Cloud Platform services
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 |
| Name | Type | Description | Default |
|---|---|---|---|
| vault_public_endpoint | bool | Exposes the cluster to the internet. Defaults to false | false |
| create_consul_cluster | bool | Flag to create an HCP Consul cluster | false |
| generate_consul_token | bool | Flag to generate HCP Consul root token | false |
| hvn_cidr_block | string | CIDR block for the HVN VPC | "172.25.16.0/20" |
| boundary_password | string | Boundary administrator password. This will show up in the state file so please b | "" |
| generate_vault_token | bool | Flag to generate HCP Vault admin token | false |
| hvn_vault_id | string | The ID of the HCP Vault HVN. | "hcp-vault-hvn" |
| connect_enabled | bool | Denotes the Consul connect feature should be enabled. Defaults to true | true |
| consul_tier | string | Tier of the HCP Consul cluster - development, standard, plus - x_small only work | "development" |
| boundary_cluster_name | string | Name of the HCP Boundary cluster that will be created | "" |
| primary_consul_cluster_name | string | Primary Consul cluster name (id) that secondary clusters will be federating with | "" |
| cloud_provider | string | The cloud provider of the HCP HVN, HCP Vault, or HCP Consul cluster. | "aws" |
| boundary_cluster_tier | string | Tier HCP Boundary cluster that will be created | "" |
| vault_cluster_name | string | The name (id) of the HCP Vault cluster. | "hcp-vault-cluster" |
| output_vault_token | bool | Flag to output the generated Vault token as a non-sensitive object. Use with cau | false |
| consul_size | string | Size of the HCP Consul nodes - x_small, small, medium, large - x_small only work | "x_small" |
| consul_cluster_name | string | The name (id) of the HCP Consul cluster | "hcp-consul-cluster" |
| snapshot_name | string | Name of the Consul Snapshot that will be created | "" |
| min_vault_version | string | Minimum Vault version to use when creating the cluster. If null, defaults to HCP | "" |
| federation | bool | Flag to enable Consul Federation. Defaults to false | false |
vault_cluster_id — ID of the HCP Vault cluster that was createdhvn_single_cidr_block — CIDR Block that was configured on the single HCP HVNboundary_password — HCP Boundary administrator passwordvault_public_endpoint_url — Public Endpoint URL for the HCP Vault clustervault_token — HCP Vault Admin tokenboundary_auth_id — Default auth_id for username and passwordconsul_k8s_tokenconsul_configboundary_cluster_id — HCP Boundary cluster IDconsul_datacenterconsul_token — HCP Consul Admin tokenhvn_single_linkconsul_certconsul_public_endpoint_url — Public Endpoint URL for the HCP Consul clusterconsul_tier — HCP Consul tier that was deployedconsul_size — Size of the HCP Consul clustervault_private_endpoint_url — Private Endpoint URL for the HCP Vault clustervault_version — HCP Vault versionhvn_vault_cidr_block — CIDR Block that was configured on the HCP Vault HVNboundary_cluster_url — Public URL for the HCP Boundary clusterconsul_version — HCP Consul versionhvn_vault_linkhvn_consul_cidr_block — CIDR Block that was configured on the HCP Consul HVNhvn_consul_linkboundary_username — HCP Boundary admin usernamevault_tier — HCP Vault tier that was deployedconsul_cluster_id — ID of the HCP Consul cluster that was created.consul_private_endpoint_url — Private Endpoint URL for the HCP Consul cluster