terraform-provider-utils icon indicating copy to clipboard operation
terraform-provider-utils copied to clipboard

Provider does not work with AWS SSO

Open benjefferies opened this issue 1 year ago • 0 comments

Describe the Bug

│ Error: error configuring Terraform AWS Provider: loading configuration: profile "vev-production" is configured to use SSO but is missing required configuration: sso_region, sso_start_url │ │ with provider["registry.terraform.io/cloudposse/awsutils"], │ on provider.tf line 6, in provider "awsutils": │ 6: provider "awsutils" {

Expected Behavior

Uses the AWS SSO configuration to load profile

Steps to Reproduce

  1. Setup an AWS account with IAM Identity Center enabled
  2. Configure profile locally https://awscli.amazonaws.com/v2/documentation/api/latest/reference/configure/sso.html
  3. Use provider

Screenshots

No response

Environment

OSX Terraform 1.6.3 Provider 0.18.1

Additional Context

Looks like terragrunt fixed this by bumping the AWS SDK version https://github.com/gruntwork-io/terragrunt/commit/5c817c9d0880ce03717303a1ce9e0be59b1f96de

benjefferies avatar Nov 08 '23 17:11 benjefferies