Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails Silently When Using IAM Identity Center Setup #331

Open
SeanSith opened this issue Nov 27, 2023 · 1 comment
Open

Fails Silently When Using IAM Identity Center Setup #331

SeanSith opened this issue Nov 27, 2023 · 1 comment

Comments

@SeanSith
Copy link

Issue type

  • Bug report

cli53 version (cli53 --version)

❯ ~/Downloads/cli53-mac-arm64 --version
cli53 version 0.8.22

OS / Platform

❯ uname -a
Darwin MD-0015 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64

Steps to reproduce

  1. Configure AWS CLI to use IAM Identity Center
[sso-session mysso]
sso_region = us-east-1
sso_start_url = https://mysso.awsapps.com/start

[default]
output = json
region = us-east-1
sso_account_id = 123456789012
sso_role_name = AdministratorAccess
sso_session = mysso
  1. aws sso login
  2. cli53 list

Expected behaviour

I would receive a list of hosted zones in my Route 53 account.

Actual behaviour

I received an empty list and echo $? returned "1"

❯ ~/Downloads/cli53-mac-arm64 list
❯ echo $?
1

Have you checked if the documentation has the information you require?

I have, yes, thanks!

Could you contribute a fix or help testing with this issue?

I don't need to. By cloning what is on main and running go build, the resultant binary executes the command properly. I did also clone the repository and ran a go get -u github.com/aws/aws-sdk-go before reverting my changes and trying a go build again. I'm hoping that didn't cloud the results of the operation, but it may have? Either way, an update of the AWS Go SDK wouldn't hurt, I don't think.

SeanSith added a commit to SeanSith/cli53 that referenced this issue Nov 27, 2023
Addresses barnybug#331 by upgrading the AWS SDK and mikeg/dns. Requires an
update to Go 1.19.
@SeanSith
Copy link
Author

My assumption about not needing updates was incorrect. I have submitted #332 in order to begin the discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant