@@ -15,6 +15,7 @@ resource "random_string" "random" {
1515resource "aws_sqs_queue" "queued_builds" {
1616 name = " ${ var . environment } -queued-builds.fifo"
1717 delay_seconds = 30
18+ visibility_timeout_seconds = 60
1819 fifo_queue = true
1920 receive_wait_time_seconds = 10
2021 content_based_deduplication = true
@@ -30,19 +31,27 @@ module "webhook" {
3031 tags = local. tags
3132
3233 sqs_build_queue = aws_sqs_queue. queued_builds
33- github_app_webhook_secret = var. github_app_webhook_secret
34+ github_app_webhook_secret = var. github_app . webhook_secret
3435}
3536
3637module "runners" {
3738 source = " ./modules/runners"
3839
3940 aws_region = var. aws_region
4041 vpc_id = var. vpc_id
42+ subnet_ids = var. subnet_ids
4143 environment = var. environment
4244 tags = local. tags
4345
4446 s3_bucket_runner_binaries = module. runner_binaries . bucket
4547 s3_location_runner_binaries = local. s3_action_runner_url
48+
49+ sqs = aws_sqs_queue. queued_builds
50+ github_app = var. github_app
51+ enable_organization_runners = var. enable_organization_runners
52+ scale_down_schedule_expression = var. scale_down_schedule_expression
53+ minimum_running_time_in_minutes = var. minimum_running_time_in_minutes
54+ runner_extra_labels = var. runner_extra_labels
4655}
4756
4857module "runner_binaries" {
0 commit comments