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

Update cli.py to fix incorrect error messaging #1314

Merged
merged 2 commits into from
Apr 25, 2024
Merged

Conversation

lmuther8
Copy link
Contributor

@lmuther8 lmuther8 commented Mar 29, 2024

Description

Expected Behavior
The CLI should output that the current AWS user does not have permission to call lambda:GetFunction.

Actual Behavior
The CLI outputs: Warning! Couldn't get function {{function_name}} in {{AWS Region}} - have you deployed yet?.

GitHub Issues

Closes #1313

Expected Behavior
The CLI should output that the current AWS user does not have permission to call lambda:GetFunction.

Actual Behavior
The CLI outputs: Warning! Couldn't get function {{function_name}} in {{AWS Region}} - have you deployed yet?.
@lmuther8 lmuther8 changed the title Update cli.py Update cli.py to fix incorrect error messaging Mar 29, 2024
@coveralls
Copy link

coveralls commented Apr 11, 2024

Coverage Status

coverage: 74.668% (-0.1%) from 74.81%
when pulling c047b4d on lmuther8:patch-1
into a38058b on zappa:master.

@monkut monkut merged commit 39f75e7 into zappa:master Apr 25, 2024
6 checks passed
FlorentGeode pushed a commit to GEODE-SAS/Zappa that referenced this pull request Jul 12, 2024
Expected Behavior
The CLI should output that the current AWS user does not have permission to call lambda:GetFunction.

Actual Behavior
The CLI outputs: Warning! Couldn't get function {{function_name}} in {{AWS Region}} - have you deployed yet?.

Co-authored-by: monkut <[email protected]>
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

Successfully merging this pull request may close these issues.

Incorrect CLI Error Messaging
3 participants