Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scripts that allow creation and teardown of AWS test setups #76

Open
bernd opened this issue Apr 19, 2018 · 4 comments
Open

Add scripts that allow creation and teardown of AWS test setups #76

bernd opened this issue Apr 19, 2018 · 4 comments

Comments

@bernd
Copy link
Member

bernd commented Apr 19, 2018

Testing changes to this plugin is currently quite hard if the developer doesn't have a running AWS setup.
We need a way to simplify the creation and also deletion of test setups in AWS so we can test changes to this plugin.

We could create terraform scripts that will create all required resources in AWS and an empty VM where we can run Graylog with the AWS plugin. Terraform also provides a way to delete all resources again once testing is done.

Without something like this, it's really hard for developers and PR reviewers to actually test changes because it requires a lot of manual work.

@ghost
Copy link

ghost commented Apr 19, 2018

I didn't write this, but I use this for for these types of situations. Written from terraform 0.8.8.

Graylog-Dev-AWS.zip

@lennartkoopmann
Copy link
Contributor

@bernd This would be very useful for our automated demo environments, too. I have everything terraform'd except Graylog and the AWS log sources.

@radykal-com
Copy link
Contributor

radykal-com commented Jun 24, 2018

Hello,
this project may be useful https://github.com/localstack/localstack for this issue, this way you don't need to spend money on bringing up AWS real services.
Running it in dockers, and some integration tests may help

@ion9
Copy link

ion9 commented Dec 4, 2018

Do we want terraform or cloud formation, I have both. It is setup as ECS tasks running on a ASG. Let me know if you would like the code.

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

No branches or pull requests

5 participants