forked from hashicorp/terraform-provider-vault
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add region passing for non commercial regions (hashicorp#841)
* Add support for passing region information to vault backend This allows us to use non-inferrable regions * Remove unnecessary data passing when obtaining region * Remove root privilege check, add region as part of data source This allows the tf config to specify the region. It creates redundancy, however, it should allow people to use a different region without special permissions of any sort. If no region is given, it should default to us-east-1. * Rely on go zero values for modifying aws.Config This allows us to set the region ONLY if it was specified in the data section of the user's Terraform config.
- Loading branch information
Lauren Voswinkel
authored
Aug 17, 2020
1 parent
8a19e65
commit a1160fe
Showing
3 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters