Skip to content

Issues when terminating a stack #40

@vkurup

Description

@vkurup

I noticed the following issues when terminating an EB stack.

  • 3 resources are not deleted and the event logs say that deletion was skipped: ContainerLogs (CloudWatch), PrivateAssetsBucket (S3), AssetsBucket (S3). The ContainerLogs have an expiration of 365 days, so they will eventually get deleted, and maybe it's a useful thing to have logs around for a while after termination. But the S3 buckets seem like they would just linger forever causing unneeded charges.
  • 1 resource deletion fails, which causes the stack's status to be 'DELETE_FAILED'. This is the ECR which fails with this messsage: "The repository with name 'disco-fred' in registry with id '112250541543' cannot be deleted because it still contains images"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions