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

local_builds/codebuild_build.sh does not support the new sso session credentials #597

Open
nicolaevladescu opened this issue Jan 31, 2023 · 0 comments
Labels
CodeBuild-local Tag to track issues and PRs for CodeBuild local Docker image feature request

Comments

@nicolaevladescu
Copy link

nicolaevladescu commented Jan 31, 2023

Describe the bug
local_builds/codebuild_build.sh does not support the new sso session credentials.

The new sso sessions have sso_region, sso_start_url in the sessions stanza of ~/.aws/config not under the profile.

To Reproduce
Steps to reproduce the behavior:

  1. Use SSM or SecretsManager items in your buildspec yaml

Expected behavior
Use [sso-session] stanzas from ~/.aws/config to authenticate to AWS and retrieve Secrets, etc.

Logs
build_1 | panic: profile "admin" is configured to use SSO but is missing required configuration: sso_region, sso_start_url

Platform

  • OS: Mac x86

Additional context
Running custom docker image

@subinataws subinataws added CodeBuild-local Tag to track issues and PRs for CodeBuild local Docker image feature request labels Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CodeBuild-local Tag to track issues and PRs for CodeBuild local Docker image feature request
Projects
None yet
Development

No branches or pull requests

2 participants