Cloudformation stuck in UPDATE_ROLLBACK_FAILED

0

Please help get past this. I have to enter 3 logical ids to rollback my update, but the regex in cloudformation doesn't allow for that because the regex doesn't appear to allow commas. But the continue ROLLBACK instructions from AWS clearly state to use commas: "To skip resources, type a list of comma-separated logical resource IDs. Include only the resources that are blocking the rollback."

But the commas are not allowed???? What am I missing here? I can't go forward or back. My stack is stuck.

My error on trying to roll back:

Failed to rollback: 1 validation error detected: Value '[rRoute10,rRoute192,rRoute172]' at 'resourcesToSkip' failed to satisfy constraint: Member must satisfy constraint: [Member must satisfy regular expression pattern: [a-zA-Z0-9]+|[a-zA-Z][-a-zA-Z0-9]*\.[a-zA-Z0-9]+]

My errors in cloudformation:
14:06:04 UTC-0400 UPDATE_FAILED AWS::EC2::Route rRoute192 The gateway ID 'vgw-0e7d969e316a7b5d5' does not exist (Service: AmazonEC2; Status Code: 400; Error Code: InvalidGatewayID.NotFound; Request ID: 6d4cdb5f-31c5-4cf3-8777-3e3eb361d594)

14:06:04 UTC-0400 UPDATE_FAILED AWS::EC2::Route rRoute10 The gateway ID 'vgw-0e7d969e316a7b5d5' does not exist (Service: AmazonEC2; Status Code: 400; Error Code: InvalidGatewayID.NotFound; Request ID: 315ecc3a-d70c-46b7-b1cd-05f4c6765edd)

14:06:04 UTC-0400 UPDATE_FAILED AWS::EC2::Route rRoute172 The gateway ID 'vgw-0e7d969e316a7b5d5' does not exist (Service: AmazonEC2; Status Code: 400; Error Code: InvalidGatewayID.NotFound; Request ID: 2a6e20f0-4d41-4647-85f0-ffbfc0326680)

For background, someone deleted our VPG and created a different gateway. They also manually updated the routes. Now, I am trying to get the stack in sync on the route tables. However, the stack failed to update and now it fails to roll back.

asked 5 years ago311 views
1 Answer
0

In another thread, I found an answer - use the CLI. The CLI doesn't ask for a comma-separated list.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions