graylog-plugin-aws
graylog-plugin-aws copied to clipboard
Add scripts that allow creation and teardown of AWS test setups
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.
I didn't write this, but I use this for for these types of situations. Written from terraform 0.8.8.
@bernd This would be very useful for our automated demo environments, too. I have everything terraform'd except Graylog and the AWS log sources.
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
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.