v.0.8.2
provider "aws" {
region = "us-west-2"
shared_credentials_file = "~/.aws/creds"
profile = "customprofile"
}
Evaluate to my $HOME, and then use the aws creds file from there. This would be nice in a team environment so we don't have usernames hardcoded.
Workaround is a wrapper script for this, but this would be nice as an enhancement.
Hi @joshlove, thanks for the issue!
I've submitted #11277, which should allow you to use the pathexpand() interpolation function inside your provider config, and elsewhere.
provider "aws" {
region = "us-west-2"
shared_credentials_file = "${pathexpand(~/.aws/creds)}"
profile = "customprofile"
}
Appreciate your work on this, thanks!
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
Hi @joshlove, thanks for the issue!
I've submitted #11277, which should allow you to use the
pathexpand()interpolation function inside your provider config, and elsewhere.