-
Notifications
You must be signed in to change notification settings - Fork 4k
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
SSM Parameter lookup gives "Not making progress trying to resolve environmental context. Giving up." error #30078
Comments
Hi @AvivSamet-Silk , thanks for reaching out. From the error it looks like, the user profile calling the api is not configured on your local machine. You can run this - You could create a user in AWS Console and then generate access and security key and configure the credentials in ~/.aws/config file with this new user . Run Also when running the code, you could also mention environment parameters like this -
Please feel free to reach out if that does not solve the issue. |
This works if I export AWS creds locally, but having creds in ~/.aws/config or ~/.aws/credentials does not work |
@AvivSamet-Silk , are you still facing the issue ? |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Describe the bug
When running
npx cdk synth
I get the following error:(This stacktrace is produced in verbose mode, in regular mode you get a less descriptive error).
Following the stacktrace, it looks like this happens when I try to look up an SSM string parameter.
Expected Behavior
This CDK produces a valid cloudformation template that is being deployed by my github actions. For some reason this just isn't working on my local machine.
Current Behavior
Reproduction Steps
This is the code that produces the issue, however I wasn't able to reproduce it outside of my local machine (it works fine on GHA and my coworker's machine):
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.9.0
Framework Version
No response
Node.js Version
20.3.1
OS
macOS 14.4.1
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: