terraform-provider-utils
terraform-provider-utils copied to clipboard
Provider does not work with AWS SSO
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
- Setup an AWS account with IAM Identity Center enabled
- Configure profile locally https://awscli.amazonaws.com/v2/documentation/api/latest/reference/configure/sso.html
- 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