# Senior DevOps Engineer - NotBad Header based API
# Alpeso Recruiting - SENIOR DEVOPS ENGINEER
This is a test project within Alpeso's technical recruiting process.
Look at the following tasks and estimate how much time you will spend on them.
Look at the following tasks and estimate how much time you will spend on them.
In doubt of technical issues you can send an e-mail with your questions.
## Preconditions
## Preconditions
### Technical & Knowledge
### Technical & Knowledge
@ -22,7 +16,7 @@ You need at least:
## The tasks
## The tasks
1) We have a Terraform securitygroups.tf file. Every time Terraform runs, it says the security group in that file will be updated in place. Find a way to prevent this.
1) We have a Terraform securitygroups.tf file. Every time Terraform runs, it says the security group in that file will be updated in place. Find a way to prevent this.
2) You have the alpeso-test.tar.gz archive. What we can improve?
2) You have the keycloak-test.tar.gz archive. What we can improve?
3) Provide infrastructure and create CI/CD with a web app that will listen to 8089 port and return "ReallyNotBad" string when POST request contains header "NotBad" with value "true", eg. `curl -X POST -H "NotBad: true" https://someurl:8089/` should return "ReallyNotBad".
3) Provide infrastructure and create CI/CD with a web app that will listen to 8089 port and return "ReallyNotBad" string when POST request contains header "NotBad" with value "true", eg. `curl -X POST -H "NotBad: true" https://someurl:8089/` should return "ReallyNotBad".
Use any technology you want to deploy the application to AWS. It can be Ansible, Terraform, etc. or a combination of some of them.
Use any technology you want to deploy the application to AWS. It can be Ansible, Terraform, etc. or a combination of some of them.