Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

add --cleanup-aws option to remove *ANY* AWS allocated resource #157

Open
gserra-olx opened this issue Aug 2, 2017 · 7 comments
Open

add --cleanup-aws option to remove *ANY* AWS allocated resource #157

gserra-olx opened this issue Aug 2, 2017 · 7 comments
Assignees

Comments

@gserra-olx
Copy link
Contributor

in particular:

  • cloudwatch logs
  • SQS queues
@cwaltken-edrans
Copy link
Collaborator

cwaltken-edrans commented Aug 2, 2017

Agreed 👍

@VitorFalcao
Copy link

@cwaltken-edrans Are you already working on a fix? I would like to start contributing to the project and this issue seems interesting.

@cwaltken-edrans
Copy link
Collaborator

cwaltken-edrans commented Oct 6, 2017 via email

@VitorFalcao
Copy link

Thank you. Could you please give me some pointers, since I am new to the project? What other resources should the "--cleanup-aws" option delete?

@cwaltken-edrans
Copy link
Collaborator

Please take a look at: https://github.com/cwaltken-edrans/goad/blob/master/infrastructure/aws/aws.go
The code in this file is solely responsible for creating aws resources.

Resources to delete if present that come right to my mind would be:

  • SQS-Queue
  • Role for lambda function
  • Lambda aliases
  • Lambda functions
  • CloudWatch logs associated to the lambda function

Ideally the cleanup code would also apply to the Docker infrastructure though to run goad on docker is still considered to be an experimental feature.
You could take a look at the cleanup code for each infrastructure and improve on that and reuse the code.

@thalesfsp
Copy link

Any update on it?

@cwaltken-edrans
Copy link
Collaborator

Right now, no one is working on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants