Skip to content
Permalink
Browse files

add CAPABILITY_AUTO_EXPAND capability for macros (#731)

Without this capability, creating a stack with a macro results in the
following error:

An error occurred (InsufficientCapabilitiesException) when calling the
CreateStack operation: Requires capabilities : [CAPABILITY_AUTO_EXPAND]
  • Loading branch information...
troyready authored and phobologic committed May 16, 2019
1 parent fde9bd4 commit 515494145ac5363be6dd70ec5326c1729cc8e32a
Showing with 3 additions and 1 deletion.
  1. +2 −1 stacker/providers/aws/default.py
  2. +1 −0 stacker/tests/providers/aws/test_default.py
@@ -56,7 +56,8 @@
MAX_TAIL_RETRIES = 15
TAIL_RETRY_SLEEP = 1
GET_EVENTS_SLEEP = 1
DEFAULT_CAPABILITIES = ["CAPABILITY_NAMED_IAM", ]
DEFAULT_CAPABILITIES = ["CAPABILITY_NAMED_IAM",
"CAPABILITY_AUTO_EXPAND"]


def get_cloudformation_client(session):
@@ -105,6 +105,7 @@ def generate_change_set_response(status, execution_status="AVAILABLE",
],
"Capabilities": [
"CAPABILITY_NAMED_IAM",
"CAPABILITY_AUTO_EXPAND"
],
"Tags": [
{

0 comments on commit 5154941

Please sign in to comment.
You can’t perform that action at this time.