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

(credentials): (Need to perform AWS calls for account ..., but no credentials have been configured ) #32135

Open
1 task
topankefal05 opened this issue Nov 14, 2024 · 3 comments
Labels
@aws-cdk/pipelines CDK Pipelines library bug This issue is a bug. p1

Comments

@topankefal05
Copy link

Describe the bug

With the latest version 2.167.0 I have encountered the issue mentioned in the title. I have been setting the ENV Variables in a pipeline and so far everything has been running smoothly. Since 2.167.0 this doesnt seem to work anymore even though the CredentialsChain suggests to still work in the same way, that it should prioritize fromEnv() if not profile is configured.

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

2.166.0

Expected Behavior

Correctly authenticated to complete actions with AWS Account.

Current Behavior

Not authentication identified, no credentials found.

Reproduction Steps

GitLab CI Pipeline with ENV Variables.

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.167.0

Framework Version

No response

Node.js Version

18.16.1

OS

alpine

Language

TypeScript

Language Version

No response

Other information

No response

@topankefal05 topankefal05 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 14, 2024
@github-actions github-actions bot added the @aws-cdk/pipelines CDK Pipelines library label Nov 14, 2024
@ashishdhingra
Copy link
Contributor

@topankefal05 Your issue appears to be similar to #32120. That issue is being worked upon by CDK team. Hence, please review and advise if it's fine to close this as duplicate.

Thanks,
Ashish

@ashishdhingra ashishdhingra added p1 response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed needs-triage This issue or PR still needs to be triaged. labels Nov 14, 2024
@rix0rrr
Copy link
Contributor

rix0rrr commented Nov 14, 2024

@topankefal05 If you think this is a different issue, we would love some more details from you.

  • What type of machine is this on?
  • How are you configuring credentials?
  • Do you use .aws files? If so, what do they look like?
  • Can you run again with -vvv and paste the response?

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Nov 14, 2024
@topankefal05
Copy link
Author

@ashishdhingra After having a look on the other issue it seems to be a duplicate indeed, I will check again if it's resolved with a new version, currently rolling back to 2.166.0 is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/pipelines CDK Pipelines library bug This issue is a bug. p1
Projects
None yet
Development

No branches or pull requests

3 participants