Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: (aws provider) shared_config_file #14249

Closed
ProbablyRusty opened this issue May 5, 2017 · 2 comments
Closed

Feature Request: (aws provider) shared_config_file #14249

ProbablyRusty opened this issue May 5, 2017 · 2 comments

Comments

@ProbablyRusty
Copy link

ProbablyRusty commented May 5, 2017

I am thinking it would be nice to implement shared_config_file in the aws provider stanza in the same way shared_credentials_file is already implemented. The primary use case of this that I envision would be to dynamically fetch the default region (if set) for whatever profile is in use.

So for example, instead of something like this:

provider "aws" {
  shared_credentials_file = "${pathexpand("~/.aws/credentials")}"
  region                  = "${var.region}"
}

...it would instead be possible to do this:

provider "aws" {
  shared_credentials_file = "${pathexpand("~/.aws/credentials")}"
  shared_config_file      = "${pathexpand("~/.aws/config")}"
}
@ashb
Copy link
Contributor

ashb commented May 12, 2017

Duplicate of #7192 (or possibly an extension of that to allow using a custom shared config file?)

@ghost
Copy link

ghost commented Apr 9, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants