hashicorp / terraform-google-vault

A Terraform Module for how to run Vault on Google Cloud using Terraform and Packer
Apache License 2.0
113 stars 75 forks source link

Enable installation of Vault Enterprise. #20

Closed josh-padnick closed 6 years ago

josh-padnick commented 6 years ago

This PR updates the install-vault script to accept an optional download-url. If no value is given, install-vault will download the open source Vault version just as before, however the user can now specify a Vault Enterprise download URL if desired.

Note that this release does not yet automate the registration of a license key to Vault Enterprise. You will typically receive your license key directly from HashiCorp and provision is by making an API call to /sys/license. But this requires that Vault first be unsealed.

Therefore, automatic license registration first requires that we implement support for Vault Auto Unseal. This way, once Vault boots up, it can auto unseal and auto-register its license.

For that reason, I'll hold off on issuing a new release for now.

josh-padnick commented 6 years ago

Don't forget to update the README and add a new example under /examples

As you hinted at in your comment, I figured my example should show the full Vault Enterprise setup, so I opted to hold off on docs and examples until I have auto-unseal written.

josh-padnick commented 6 years ago

Merging now! 'cc @infosecgithub