This PR implements the same changes as this PR in terraform-aws-vault which addresses hashicorp/vault#4383. This also fixes #14.
I have tested this change and it fixes the issue.
A future PR should also merge in this PR from terraform-aws-vault which allows for a custom API address in order to support HA client redirection with Vault behind a load balancer.
(Sorry for all of the whitespace changes my editor made. If thats an issue I can fix them. We might want to add an editorconfig.org file to this project so that contributors can follow the same style guidelines.)
This PR implements the same changes as this PR in terraform-aws-vault which addresses hashicorp/vault#4383. This also fixes #14.
I have tested this change and it fixes the issue.
A future PR should also merge in this PR from terraform-aws-vault which allows for a custom API address in order to support HA client redirection with Vault behind a load balancer.
(Sorry for all of the whitespace changes my editor made. If thats an issue I can fix them. We might want to add an editorconfig.org file to this project so that contributors can follow the same style guidelines.)