Skip to content

Leftover cloudformation stacks are seen after TG job completion #1259

@kasunbg

Description

@kasunbg

Why this is a problem?

If the cloudformation stacks are not deleted at the end of a given build, then they become orphaned. Then, it'll continue to accrue cost, and will also count towards AWS resource limits. For ex. we have limits on how many Cloudformation stacks, VPCs, EC2 instances, RDS instances we can create.
So, the orphaned stacks pose a big problem over-time because, once the limits are reached, all the TG builds will start failing.

We need to find out what are the reasons they don't get deleted. This seems to be an intermittent issue.

Following is a sample set of stacks that were orphaned in us-east-2 region.
image

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