-
Sign up for/sign in to HashiCorp Cloud Platform
-
Create a Service Principal
-
Generate a Service Principal Key
Keep the client_id and client_secret in a safe place for the next step
- Set client_id and secret_id values in variables.auto.tfvars file included in this repo
- Change any settings in
main.tf
as desiredDefaults will create 1 HVN, 1 Consul Cluster, and 1 Vault Cluster
- Run Terraform Init, Plan, and Apply
- Wait for resources to finish deployment (this can take 30min+ depending on configuration)