philips-labs / terraform-aws-github-runner

Terraform module for scalable GitHub action runners on AWS
https://philips-labs.github.io/terraform-aws-github-runner/
MIT License
2.44k stars 578 forks source link

Cannot create API gateway url #3941

Open SomaGallai opened 2 weeks ago

SomaGallai commented 2 weeks ago

During the getting started of the tutorial in the following step Documentation, I receive the following errors:

╷
│ Error: Unsupported argument
│ 
│   on github-runner-spot-instance.tf line 79, in module "github-runner":
│   79:   webhook_lambda_zip                = "lambdas-download/webhook.zip"
│ 
│ An argument named "webhook_lambda_zip" is not expected here.
╵
╷
│ Error: Unsupported argument
│ 
│   on github-runner-spot-instance.tf line 80, in module "github-runner":
│   80:   runner_binaries_syncer_lambda_zip = "lambdas-download/runner-binaries-syncer.zip"
│ 
│ An argument named "runner_binaries_syncer_lambda_zip" is not expected here.
╵
╷
│ Error: Unsupported argument
│ 
│   on github-runner-spot-instance.tf line 81, in module "github-runner":
│   81:   runners_lambda_zip                = "lambdas-download/runners.zip"
│ 
│ An argument named "runners_lambda_zip" is not expected here.
╵

I am using the default expamle as a baseline and created the lambdas using the download-lambdas module. What am I doing wrong?

In my main.tf the following config complains:

module "github-runner" {
  webhook_lambda_zip                = "lambdas-download/webhook.zip"
  runner_binaries_syncer_lambda_zip = "lambdas-download/runner-binaries-syncer.zip"
  runners_lambda_zip                = "lambdas-download/runners.zip"
}