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

Error: Waiter StackCreateComplete failed: Waiter encountered a terminal failure state #2

Open
dariushazimi opened this issue Feb 8, 2019 · 6 comments

Comments

@dariushazimi
Copy link

dariushazimi commented Feb 8, 2019

Hello,
@wascou
I am running into a number of errors. I exported the user name with a unique user like:
export USERNAME=myfebeighttestofserverlesssubtitles
After that, I run the ./create-all.sh but get the following errors. The only part that worked was creating the dynamodb table.
S3 bucket is also not created.
Am I missing anything?
Could you pls provide some directions?

Thanks

  ./create-all.sh
{
    "Parameters": [
        {
            "ParameterKey": "Username",
            "NoEcho": false,
            "Description": "Unique username to fill in the S3 bucket"
        }
    ],
    "Description": "Security layer for subtitle demonstration",
    "Capabilities": [
        "CAPABILITY_NAMED_IAM"
    ],
    "CapabilitiesReason": "The following resource(s) require capabilities: [AWS::IAM::Role]"
}
{
    "StackId": "arn:aws:cloudformation:us-east-1:888888888:stack/security/6eb09f40-2bb3-11e9-b066-0a583df6bf38"
}

Waiter StackCreateComplete failed: Waiter encountered a terminal failure state
{
    "Parameters": [],
    "Description": "Compute layer for subtitle demonstration"
}
{
    "StackId": "arn:aws:cloudformation:us-east-1:888888888:stack/compute/820cd450-2bb3-11e9-a93e-0ae81055537e"
}

Waiter StackCreateComplete failed: Waiter encountered a terminal failure state
{
    "Parameters": [],
    "Description": "Database layer for subtitle demonstration"
}
{
    "StackId": "arn:aws:cloudformation:us-east-1:888888888:stack/database/954fdc10-aca2-1230783fe8ac"
}
{
    "Parameters": [],
    "Description": "Storage layer for subtitle demonstration"
}
{
    "StackId": "arn:aws:cloudformation:us-east-1:888888888:stack/storage/cc8cca30-1253a26d999e"
}

Waiter StackCreateComplete failed: Waiter encountered a terminal failure state
{
    "Parameters": [],
    "Description": "Storage layer for subtitle demonstration"
}

An error occurred (ValidationError) when calling the UpdateStack operation: Stack:arn:aws:cloudformation:us-east-1:888888888:stack/storage/cc8cca30-1253a26d999e is in ROLLBACK_COMPLETE state and can not be updated.
@wascou
Copy link
Contributor

wascou commented Feb 10, 2019

@dariushazimi ,
Was it the first time you were running it ? Sounds like a client error.
You can look inside the script and launch each step one by one.
I suggest to delete-all.sh then start again this way.
Once the script is run, you can log in your console and look at Cloudformation stacks.
You will have more information.

@apsylone
Copy link

I've got the same problem. I did a delete-all.sh before starting the script.

@cloneluke
Copy link

Waiter errors are thrown if waitermodel encounters a failure: https://github.com/boto/botocore/blob/develop/botocore/waiter.py#L320-L324

@shaivilpatel
Copy link

is delete-all.sh a separate file?

@wascou
Copy link
Contributor

wascou commented May 6, 2021

@rohit2202
Copy link

In my case issue was resolved by removing unnecessary S3 bucket layers from different lambdas it was consuming extra space making lambdas very heavy and then build the project again and try deploying the same.

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

No branches or pull requests

6 participants