From ef27e2571a59b677aff333f4625b4d4a2dd09803 Mon Sep 17 00:00:00 2001 From: Dan Boitnott Date: Thu, 3 Oct 2024 11:50:40 -0500 Subject: [PATCH] #1519 - Improved error msg Added mention of potential missing permissions. --- sceptre/diffing/stack_differ.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sceptre/diffing/stack_differ.py b/sceptre/diffing/stack_differ.py index aef3f08a7..4e945405a 100644 --- a/sceptre/diffing/stack_differ.py +++ b/sceptre/diffing/stack_differ.py @@ -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