AWS провайдер имеет атрибут профиль , но он не выбирает регион из .aws / config.
$ cat main.tf
provider aws {
profile="default"
}
$ terraform plan
provider.aws.region
The region where AWS operations will take place. Examples
are us-east-1, us-west-2, etc.
...
То, о чем я сейчас могу думать, это использование среды переменная (я так использую).
$ export AWS_DEFAULT_REGION=$(aws configure get region --profile default)
$ terraform plan
Refreshing Terraform state in-memory prior to plan...
...
------------------------------------------------------------------------
No changes. Infrastructure is up-to-date.