1.4 KiB
1.4 KiB
EXAMPLE: Prerequisite Configuration (VPC and Secrets)
About This Example
In order to deploy the Vault module, you must have an AWS VPC that meets the requirements listed in the main README along with TLS certs that can be used with the Vault nodes and load balancer. If you do not already have these resources, you can use the code provided in this directory to provision them.
How to Use This Module
- Ensure your AWS credentials are configured correctly
- Configure required (and optional if desired) variables
- Run
terraform init
andterraform apply
Required variables
resource_name_prefix
- string value to use as base for resource names
Note
- The default AWS region is
us-east-1
(as specified by theaws_region
variable). You may change this if wish to deploy Vault elsewhere, but please be sure to change the value for theazs
variable as well and specify the appropriate availability zones for your new region.
Security Note:
- The Terraform State produced by this code has sensitive data (cert private keys) stored in it. Please secure your Terraform state using the recommendations listed here.