awslabs / clickstream-analytics-on-aws

Build clickstream analytics on AWS for your mobile and web applications
https://aws.amazon.com/solutions/implementations/clickstream-analytics-on-aws/
Apache License 2.0
70 stars 21 forks source link

can't properly delete stack: Clickstream-DataModelingRedshift-xxxxx-NewServerlessRedshiftNestedStackNewServerl-xxxx #360

Closed qianyangcassie closed 11 months ago

qianyangcassie commented 1 year ago

Summary

when deleting nested stack Clickstream-DataModelingRedshift-xxxxx-NewServerlessRedshiftNestedStackNewServerl-xxxx, there will be error: esource sg-xxxxxx has a dependent object (Service: AmazonEC2; Status Code: 400; Error Code: DependencyViolation;

Steps to reproduce

delete project from clickstream console, then we can find that nested stack Clickstream-DataModelingRedshift-xxxxx-NewServerlessRedshiftNestedStackNewServerl-xxxx failed

What is the current bug behavior?

can't properly delete stack: Clickstream-DataModelingRedshift-xxxxx-NewServerlessRedshiftNestedStackNewServerl-xxxx

What is the expected correct behavior?

stack: Clickstream-DataModelingRedshift-xxxxx-NewServerlessRedshiftNestedStackNewServerl-xxxx can be deleted properly

Relevant logs and/or screenshots

Screenshot 2023-10-25 at 14 59 41

Possible fixes


This is :bug: Bug Report

zxkane commented 1 year ago

Could you check if the security group sg-xxxxxx was changed out of the stack?

qianyangcassie commented 1 year ago

it's created by stack and isn't been changed ![Uploading Screenshot 2023-10-26 at 17.10.50.png…]()

dengmingtong commented 11 months ago

Cannot reproduce this issue in my env, wait for qianyang to confirm it.