When using the AWS provider, the following code is the bare minimum:
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
}
}
provider "aws" {
region = "us-east-1"
}
When using this code along with an aws-vault
session, which profile would terraform pick? Does it pick the the current aws session credentials provided by aws-vault
or something else?