CloudFormation stuck UPDATE_IN_PROGRESS and UPDATE_ROLLBACK_IN_PROGRESS

0

I really got myself in a pickle. In an attempt to fix an Amplify build problem, I just deleted the offending table. Turns out, I would have just needed to remove one of the @keys.

So, my CloudFormation failed, and got put into a UPDATE_ROLLBACK_IN_PROGRESS status. Through some troubleshooting info, I found that I should recreate the deleted tables, exactly how they were. I guessed on some things. I was wrong. The original tables had different encryption, but more importantly they had a Read/write capacity mode of On-Demand. So, now I have the following error in my CloudTrail events. amplify-karaoke-dev-32114-apikaraoke-3OVDBBIV266J is stuck as UPDATE_IN_PROGRESS and the parent stack arn:aws:cloudformation:us-east-1:204574008769:stack/amplify-karaoke-dev-32114/5a995920-86c5-11ea-9c38-12217e59f19f is in the UPDATE_ROLLBACK_IN_PROGRESS state.

Can anyone help me get this back to a state where I can try to fix the UPDATE_ROLLBACK_IN_PROGRESS problem?

Thanks,
Eric

{
"eventVersion": "1.07",
"userIdentity": {
"type": "IAMUser",
"principalId": "AIDAS7IMPUXA6QGQDD2GL",
"arn": "arn:aws:iam::204574008769:user/Administrator",
"accountId": "204574008769",
"accessKeyId": "ASIAJEO2UQWSE42QJYEA",
"userName": "Administrator",
"sessionContext": {
"attributes": {
"creationDate": "2020-04-26T07:06:41Z",
"mfaAuthenticated": "false"
}
},
"invokedBy": "cloudformation.amazonaws.com"
},
"eventTime": "2020-04-26T07:09:30Z",
"eventSource": "dynamodb.amazonaws.com",
"eventName": "UpdateTable",
"awsRegion": "us-east-1",
"sourceIPAddress": "cloudformation.amazonaws.com",
"userAgent": "cloudformation.amazonaws.com",
"errorCode": "ValidationException",
"errorMessage": "One or more parameter values were invalid: Both ReadCapacityUnits and WriteCapacityUnits must be specified for index: bySystem",
"requestParameters": {
"attributeDefinitions": [
{
"attributeName": "systemId",
"attributeType": "S"
},
{
"attributeName": "id",
"attributeType": "S"
}
],
"tableName": "Song-6ivxobsgcrbozpyv3jv6blosqe-dev",
"globalSecondaryIndexUpdates": [
{
"create": {
"indexName": "bySystem",
"keySchema": [
{
"attributeName": "systemId",
"keyType": "HASH"
},
{
"attributeName": "id",
"keyType": "RANGE"
}
],
"projection": {
"projectionType": "ALL"
}
}
}
]
},
"responseElements": null,
"requestID": "LTAFPR1U3KM9FGGO9QG4TQF5DNVV4KQNSO5AEMVJF66Q9ASUAAJG",
"eventID": "b732c280-2c5c-42dd-865f-56376420e394",
"readOnly": false,
"resources": [
{
"accountId": "204574008769",
"type": "AWS::DynamoDB::Table",
"ARN": "arn:aws:dynamodb:us-east-1:204574008769:table/Song-6ivxobsgcrbozpyv3jv6blosqe-dev"
}
],
"eventType": "AwsApiCall",
"apiVersion": "2012-08-10",
"managementEvent": true,
"recipientAccountId": "204574008769",
"eventCategory": "Management"
}
Close

Edited by: ShaftESR on Apr 26, 2020 1:28 AM

gefragt vor 4 Jahren486 Aufrufe
1 Antwort
0

2 hours later, it finally released. I'm still trying to get myself out of the pickle. This time I forgot to add the stream to the other table. Guess I'll be waiting another two hours to give it another go.

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen