inlets / inlets/inletsctl

AWS Security Groups not cleaned up in the case of failure

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
488
Forks
62
PR merge metrics
No merged PRs in 30d

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:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.