officialjaware / terraform-hcp-aws

A module to deploy Vault & Consul on HCP backed by AWS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HCP Terraform Module Example

Prerequisites

  1. Sign up for/sign in to HashiCorp Cloud Platform

  2. Create a Service Principal

  3. Generate a Service Principal Key

    Keep the client_id and client_secret in a safe place for the next step

Usage

  1. Set client_id and secret_id values in variables.auto.tfvars file included in this repo
  2. Change any settings in main.tf as desired

    Defaults will create 1 HVN, 1 Consul Cluster, and 1 Vault Cluster

  3. Run Terraform Init, Plan, and Apply
  4. Wait for resources to finish deployment (this can take 30min+ depending on configuration)

About

A module to deploy Vault & Consul on HCP backed by AWS


Languages

Language:HCL 100.0%