This repository is used to generated all the infrastructure for e2e tests in kedacore.
Currently, 2 different parts are stored here:
- GitHub Actions runner provision script (
./runners
) - Terraform for cloud infrastructure (
./terraform
)
The (terraform generated) infrastructure is divided in different modules grouped by cloud provider, which generate as outputs the required secrets that we need to add as secrets in kedacore.
We use this layout:
-> modules
-> azure
-> .....
-> github
-> .....
-> .....
The root
directory contains the .tf
files where every module is added and the global variables that every module needs. This part is also responsible of persisting the state in the backend (azurerm
).
- Terraform >= 1.3
- An Azure Storage Account to be used as backend
- An authenticated connection with Azure
- A Github Token or App with at least
repo.public_repo
andread:public_key
permissions.