amazon-ec2-instance-selector
amazon-ec2-instance-selector copied to clipboard
support for AWS CLI SSO credentials using AWS IAM Identity Center
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.
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
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!