/terraform-hcp-demostack-aws

this is a Demostack repository that uses the power of HCP for Consul and Vault.

Primary LanguageHCLApache License 2.0Apache-2.0

terraform-hcp-demostack-aws

this is a nocode example repository that sets up resources on HCP (Vault, Consul, Boundary) and AWS(EC2 - hosting nomad, DBs) and interconnects the two.

Solution Diagram

Solution Diagram

using the module

besides added the mandatory TF variables when configuring the workspace, you will also need to add AWS and HCP creds via enviroment variables

Doormat:

doormat aws --account <account_name> tf-push --organization <organization_name> --workspace <workspace_name>

AWS:

  • AWS_DEFAULT_REGION

HCP:

  • HCP_CLIENT_ID
  • HCP_CLIENT_SECRET (sensitive)