Skip to content

Commit

Permalink
Sceptre#1519 - Improved error msg
Browse files Browse the repository at this point in the history
Added mention of potential missing permissions.
  • Loading branch information
dboitnot authored Oct 3, 2024
1 parent 4bf9dea commit ef27e25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sceptre/diffing/stack_differ.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ def _create_deployed_stack_config(
# Check for AWS access exceptions
if err.response["Error"]["Code"] == "ForbiddenException":
raise SceptreException(
"ForbiddenException: Confirm your current AWS profile is authenticated."
"ForbiddenException: Confirm your current AWS profile is authenticated",
"and has the necessary access."
)

# This means the stack has not been deployed yet
Expand Down

0 comments on commit ef27e25

Please sign in to comment.