Skip to content

Commit

Permalink
Merge branch 'feature/runners-lambdas' of github.com:philips-labs/ter…
Browse files Browse the repository at this point in the history
…raform-aws-github-runner into feature/runners-lambdas
  • Loading branch information
gertjanmaas committed May 11, 2020
2 parents 69068bf + 18bffe6 commit 8007a15
Show file tree
Hide file tree
Showing 21 changed files with 109 additions and 4,216 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/lambda-scale-down.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ example/*.secrets*.tfvars
*.zip
*.gz
*.tgz
*.env
9 changes: 4 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ module "runners" {
s3_bucket_runner_binaries = module.runner_binaries.bucket
s3_location_runner_binaries = local.s3_action_runner_url

sqs = aws_sqs_queue.queued_builds

github_app = var.github_app

enable_organization_runners = var.enable_organization_runners
sqs = aws_sqs_queue.queued_builds
github_app = var.github_app
enable_organization_runners = var.enable_organization_runners
scale_down_schedule_expression = var.scale_down_schedule_expression
}

module "runner_binaries" {
Expand Down
2 changes: 1 addition & 1 deletion modules/runner-binaries-syncer/runner-binaries-syncer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ resource "aws_cloudwatch_event_target" "syncer" {
arn = aws_lambda_function.syncer.arn
}

resource "aws_lambda_permission" "allow_cloudwatch_to_call_check_foo" {
resource "aws_lambda_permission" "syncer" {
statement_id = "AllowExecutionFromCloudWatch"
action = "lambda:InvokeFunction"
function_name = aws_lambda_function.syncer.function_name
Expand Down
1 change: 0 additions & 1 deletion modules/runners/lambdas/scale-down/.nvmrc

This file was deleted.

5 changes: 0 additions & 5 deletions modules/runners/lambdas/scale-down/.prettierrc

This file was deleted.

4 changes: 0 additions & 4 deletions modules/runners/lambdas/scale-down/jest.config.js

This file was deleted.

25 changes: 0 additions & 25 deletions modules/runners/lambdas/scale-down/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions modules/runners/lambdas/scale-down/src/lambda.ts

This file was deleted.

5 changes: 0 additions & 5 deletions modules/runners/lambdas/scale-down/src/local.ts

This file was deleted.

This file was deleted.

60 changes: 0 additions & 60 deletions modules/runners/lambdas/scale-down/tsconfig.json

This file was deleted.

Loading

0 comments on commit 8007a15

Please sign in to comment.