- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
What about this command?
aws cloudformation describe-stack-events --stack-name pm2dictsstack
I see in AWS Console stacks and one of them: pm2dictsstack UPDATE_ROLLBACK_COMPLETE . May be delete it manually?
I have added results below as an answer
Hi Oleg, the JSON command output you've pasted isn't valid as all the "\"
characters have been stripped in "ResourceProperties" field content. Output should contain sections like this:
"ResourceProperties": "{\"NetworkAclId\":
Without the backslashes the JSON pretty-printer can't parse it and make the output readable. Can you please try again, pasting the content in a "Code" format block here instead of normal text so those characters don't get stripped.
Though actually I did just notice the reason for the failure in that output:
"ResourceStatus": "CREATE_FAILED", "ResourceStatusReason": "pm2dicts-lambda-apigw-bucket already exists"
You asked "I see in AWS Console stacks and one of them: pm2dictsstack UPDATE_ROLLBACK_COMPLETE . May be delete it manually?" - yes you can, but you're throwing away useful diagnostic info! Have a look at the events there. It will be the same set accessible via "aws cloudformation describe-stack-events --stack-name pm2dictsstack" which people have been suggesting you run.
This is a result of command above { "StackEvents": [ { "StackId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "EventId": "4387bb80-4280-11ee-aff9-02daa29ae6e0", "StackName": "pm2dictsstack", "LogicalResourceId": "pm2dictsstack", "PhysicalResourceId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "ResourceType": "AWS::CloudFormation::Stack", "Timestamp": "2023-08-24T13:15:15.119000+00:00", "ResourceStatus": "ROLLBACK_COMPLETE" }, { "StackId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "EventId": "LambdaBucket-DELETE_COMPLETE-2023-08-24T13:15:14.737Z", "StackName": "pm2dictsstack", "LogicalResourceId": "LambdaBucket", "PhysicalResourceId": "", "ResourceType": "AWS::S3::Bucket", "Timestamp": "2023-08-24T13:15:14.737000+00:00", "ResourceStatus": "DELETE_COMPLETE", "ResourceProperties": "{"BucketName":"pm2dicts-lambda-apigw-bucket","AccessControl":"Private"}" }, { "StackId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "EventId": "420b0690-4280-11ee-8f36-06fce6ffb782", "StackName": "pm2dictsstack", "LogicalResourceId": "pm2dictsstack", "PhysicalResourceId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "ResourceType": "AWS::CloudFormation::Stack", "Timestamp": "2023-08-24T13:15:12.624000+00:00", "ResourceStatus": "ROLLBACK_IN_PROGRESS", "ResourceStatusReason": "The following resource(s) failed to create: [LambdaBucket]. Rollback requested by user." }, { "StackId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "EventId": "LambdaBucket-CREATE_FAILED-2023-08-24T13:15:12.225Z", "StackName": "pm2dictsstack", "LogicalResourceId": "LambdaBucket", "PhysicalResourceId": "", "ResourceType": "AWS::S3::Bucket", "Timestamp": "2023-08-24T13:15:12.225000+00:00", "ResourceStatus": "CREATE_FAILED", "ResourceStatusReason": "pm2dicts-lambda-apigw-bucket already exists", "ResourceProperties": "{"BucketName":"pm2dicts-lambda-apigw-bucket","AccessControl":"Private"}" }, { "StackId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "EventId": "LambdaBucket-CREATE_IN_PROGRESS-2023-08-24T13:15:11.824Z", "StackName": "pm2dictsstack", "LogicalResourceId": "LambdaBucket", "PhysicalResourceId": "", "ResourceType": "AWS::S3::Bucket", "Timestamp": "2023-08-24T13:15:11.824000+00:00", "ResourceStatus": "CREATE_IN_PROGRESS", "ResourceProperties": "{"BucketName":"pm2dicts-lambda-apigw-bucket","AccessControl":"Private"}" }, { "StackId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "EventId": "3fc5f890-4280-11ee-a1d8-069187556e26", "StackName": "pm2dictsstack", "LogicalResourceId": "pm2dictsstack", "PhysicalResourceId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "ResourceType": "AWS::CloudFormation::Stack", "Timestamp": "2023-08-24T13:15:08.797000+00:00", "ResourceStatus": "CREATE_IN_PROGRESS", "ResourceStatusReason": "User Initiated" }, { "StackId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "EventId": "3c163700-4280-11ee-854f-06cf05efd900", "StackName": "pm2dictsstack", "LogicalResourceId": "pm2dictsstack", "PhysicalResourceId": "arn:aws:cloudformation:eu-west-2:074745971345:stack/pm2dictsstack/3c16ac30-4280-11ee-854f-06cf05efd900", "ResourceType": "AWS::CloudFormation::Stack", "Timestamp": "2023-08-24T13:15:02.902000+00:00", "ResourceStatus": "REVIEW_IN_PROGRESS", "ResourceStatusReason": "User Initiated" } ] }
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 4 Jahren
- AWS OFFICIALAktualisiert vor 4 Jahren
Hi, you have to run the command suggested by the error message and then update your question with those events if you want to obtain efficient support from re:Post community. So, run 'aws cloudformation describe-stack-events --stack-name pm2dictsstack' and let us know.