Skip to content

Files

Latest commit

 

History

History

tls

EXAMPLE: TLS Configuration on Load Balancer and Vault Nodes

About This Example

The Vault installation module requires an SSL certificate for the creation of the internal HTTPS load balancer. It also requires TLS certificates on all Vault nodes in the cluster. If you do not already have existing TLS certs that you can use for these requirements, you can use the example code in this directory to create them and upload them to GCP Secret Manager as well as create the necessary SSL certificate for the load balancer.

How to Use This Module

Security Note:

Required variables

  • project_id - Name of the GCP project in which to deploy resources
  • region - GCP region to deploy resources into

Note

  • Please note the following output produced by this Terraform as this information will be required input for the Vault installation module:
    • leader_tls_servername
    • ssl_certificate_name
    • tls_secret_id