Skip to content

Provider does not work with AWS SSO #341

@benjefferies

Description

@benjefferies

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 gruntwork-io/terragrunt@5c817c9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions