Skip to content

Leftover cloudformation stacks are seen after TG job completion #1259

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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