|
3 years ago | |
---|---|---|
.. | ||
lambdas-download | 3 years ago | |
templates | 3 years ago | |
.terraform.lock.hcl | 3 years ago | |
README.md | 3 years ago | |
main.tf | 3 years ago | |
outputs.tf | 3 years ago | |
providers.tf | 3 years ago | |
variables.tf | 3 years ago | |
versions.tf | 3 years ago | |
vpc.tf | 3 years ago |
This module shows how to create GitHub action runners using an Ubuntu AMI. Lambda release will be downloaded from GitHub.
Steps for the full setup, such as creating a GitHub app can be found in the root module's README. First download the Lambda releases from GitHub. Alternatively you can build the lambdas locally with Node or Docker, there is a simple build script in <root>/.ci/build.sh
. In the main.tf
you can simply remove the location of the lambda zip files, the default location will work in this case.
Ensure you have set the version in
lambdas-download/main.tf
for running the example. The version needs to be set to a GitHub release version, see https://github.com/philips-labs/terraform-aws-github-runner/releases
cd lambdas-download
terraform init
terraform apply
cd ..
Before running Terraform, ensure the GitHub app is configured.
terraform init
terraform apply