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.
besides added the mandatory TF variables when configuring the workspace, you will also need to add AWS and HCP creds via enviroment variables
doormat aws --account <account_name> tf-push --organization <organization_name> --workspace <workspace_name>
- AWS_DEFAULT_REGION
- HCP_CLIENT_ID
- HCP_CLIENT_SECRET (sensitive)