aws-samples / amazon-chime-sdk-classroom-demo

Apache License 2.0
113 stars 52 forks source link

An error occurred (ValidationError) when calling the CreateChangeSet operation: #30

Closed naddika closed 4 years ago

naddika commented 4 years ago

I run this:

$ script/deploy.js -r eu-west-1 -a aaa -s bbb -b ccc

And get:


[........]

Deploying serverless application
--> sam deploy --template-file ./build/packaged.yaml --stack-name fdsafds --parameter-overrides UseEventBridge=false --capabilities CAPABILITY_IAM --region eu-west-1

    Deploying with following values
    ===============================
    Stack name                 : fdsafdsfds
    Region                     : eu-west-1
    Confirm changeset          : False
    Deployment s3 bucket       : None
    Capabilities               : ["CAPABILITY_IAM"]
    Parameter overrides        : {'UseEventBridge': 'false'}

Initiating deployment
=====================
ChimeSdkIndexLambda may not have authorization defined.
ChimeSdkCreateMeetingLambda may not have authorization defined.
ChimeSdkJoinLambda may not have authorization defined.
ChimeSdkEndLambda may not have authorization defined.
ChimeSdkAttendeeLambda may not have authorization defined.

Command sam failed with exit code 1 signal null
Error: Failed to create changeset for the stack: fdsafds, An error occurred (ValidationError) when calling the CreateChangeSet operation: Stack:arn:aws:cloudformation:eu-west-1:fdsafdsfds:stack/fdsafd is in ROLLBACK_COMPLETE state and can not be updated.

I figure that I've given all the neccessary permissions to a user.

naddika commented 4 years ago

If I change the name of a stack and re-run the command, I get this:


Command sam failed with exit code 1 signal null
Error: Failed to create/update the stack: fdfdsafd343243, Waiter StackCreateComplete failed: Waiter encountered a terminal failure state