amazon-ec2-instance-selector icon indicating copy to clipboard operation
amazon-ec2-instance-selector copied to clipboard

support for AWS CLI SSO credentials using AWS IAM Identity Center

Open adedj opened this issue 1 year ago • 1 comments
trafficstars

Issue #250 :

Description of changes:

updated aws-sdk-go packages

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

adedj avatar May 29 '24 15:05 adedj

Without these, when use a SSO profile this is the error (v2.4.1) -

$ ec2-instance-selector -o interactive                                                                                                               

panic: profile "xxxxxxxxxxxxxxx" is configured to use SSO but is missing required configuration: sso_region, sso_start_url

goroutine 1 [running]:
github.com/aws/aws-sdk-go/aws/session.Must(...)
        /go/pkg/mod/github.com/aws/[email protected]/aws/session/session.go:381
main.getRegionAndProfileAWSSession(0xe9b920?, 0x0)
        /amazon-ec2-instance-selector/cmd/main.go:507 +0x52a
main.main()
        /amazon-ec2-instance-selector/cmd/main.go:245 +0x1535

liny01-nbsa avatar Aug 25 '24 11:08 liny01-nbsa

apologies for the very long delay, but the sdk versions are updated to make this work in the main branch, just needs released. I'll work on releasing this week since it's been wayy too long!

bwagner5 avatar Oct 14 '24 00:10 bwagner5