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: option to configure a AWS_PROFILE in the provider config #14

Open
keymon opened this issue Sep 29, 2023 · 1 comment
Open

Comments

@keymon
Copy link

keymon commented Sep 29, 2023

what?

The commonfate terraform provider uses the AWS credentials to get access to the commonfate API.

But does not allow to pass a profile to use, like AWS_PROFILE=....

Ideally, the provider should support a config profile = similar to the aws provider itself https://registry.terraform.io/providers/hashicorp/aws/latest/docs#profile

workaround

the workaround is to set the env var AWS_PROFILE=... before calling terraform

But cons:

  • this might interfere with other tools/providers.
  • you cannot have multiple aliased providers of commonfate pointing to different AWS accounts in the same project
@keymon
Copy link
Author

keymon commented Oct 6, 2023

Also, support for assume-role

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant