Skip to content

AWS Security Groups not cleaned up in the case of failure #73

Open
@thesurlydev

Description

Expected Behaviour

If there's a failure creating the ec2 instance, then all associated resources (in this case SG) should be cleaned up.

Current Behaviour

The ec2 instance creation fails and leaves the SG created in place.

Possible Solution

see expected behavior

Steps to Reproduce (for bugs)

./inletsctl create -f ~/Downloads/access-key --secret-key-file ~/Downloads/secret-access-key -r us-west-2 -z us-west-2c -p ec2

Context

Your Environment

  • inlets version inlets --version

  • Docker/Kubernetes version docker version / kubectl version:

  • Operating System and version (e.g. Linux, Windows, MacOS):

  • Link to your project or a code example to reproduce issue:

Activity

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

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