Terraform module which provisions a simple HCP Consul cluster for demonstration purposes. Only a subset of the available configuration options are exposed.
By default a HashiCorp Virtual Network is also created, unless create_hvn = false and the hvn_id of an existing HVN is supplied.
Prerequisites:
An HCP organization
HCP "Contributor" credentials set as environment variables HCP_CLIENT_ID and HCP_CLIENT_SECRET (see the HCP provider authentication guide). Optionally specify HCP_PROJECT_ID. If not included, the oldest project in the organization will be used.
If using a project-level service principal, HCP_PROJECT_ID is required