common-fate / terraform-provider-commonfate

The Common Fate Terraform Provider
MIT License
2 stars 2 forks source link

Feature request: option to configure a AWS_PROFILE in the provider config #14

Open keymon opened 1 year ago

keymon commented 1 year ago

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:

keymon commented 1 year ago

Also, support for assume-role