File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- output "action_runners " {
1+ output "runners " {
22 value = {
33 runners = module.runners.runners
44 }
55}
66
7+ # output "binaries_syncer" {
8+ # value = {
9+ # binaries_syncer = module.runners.binaries_syncer
10+ # }
11+ # }
712
8- output "lambda_binaries_syncer_name" {
9- value = module. runners . binaries_syncer . lambda . id
10- }
11-
12-
13- output "github_app_webhook_secret" {
14- value = random_password. random . result
13+ output "webhook" {
14+ value = {
15+ gateway = module.runners.webhook.gateway
16+ }
1517}
16-
17-
Original file line number Diff line number Diff line change @@ -43,6 +43,15 @@ module "runners" {
4343
4444 s3_bucket_runner_binaries = module. runner_binaries . bucket
4545 s3_location_runner_binaries = local. s3_action_runner_url
46+
47+ sqs = aws_sqs_queue. queued_builds
48+
49+ github_app_client_id = var. github_app_client_id
50+ github_app_client_secret = var. github_app_client_secret
51+ github_app_id = var. github_app_id
52+ github_app_key_base64 = var. github_app_key_base64
53+
54+ enable_organization_runners = var. enable_organization_runners
4655}
4756
4857module "runner_binaries" {
Original file line number Diff line number Diff line change 11{
2- "Effect" : " Allow" ,
3- "Action" : [
4- " ec2:DescribeInstances*" ,
5- " ec2:DescribeTags" ,
6- " ec2:CreateTags" ,
7- " ec2:TerminateInstances"
8- ],
9- "Resource" : [" *" ]
10- },
11- }
2+ "Version" : " 2012-10-17" ,
3+ "Statement" : [
4+ {
5+ "Effect" : " Allow" ,
6+ "Action" : [
7+ " ec2:DescribeInstances*" ,
8+ " ec2:DescribeTags" ,
9+ " ec2:CreateTags" ,
10+ " ec2:TerminateInstances"
11+ ],
12+ "Resource" : [" *" ]
13+ }
14+ ]
15+ }
Original file line number Diff line number Diff line change 11{
2- "Effect" : " Allow" ,
3- "Action" : [
4- " ec2:DescribeInstances" ,
5- " ec2:DescribeTags" ,
6- " ec2:CreateTags" ,
7- " ec2:RunInstances" ,
8- ],
9- "Resource" : [" *" ]
10- },
11- {
12- "Effect" : " Allow" ,
13- "Action" : " iam:PassRole" ,
14- "Resource" : " ${arn_runner_instance_role}"
15- }
16- }
2+ "Version" : " 2012-10-17" ,
3+ "Statement" : [
4+ {
5+ "Effect" : " Allow" ,
6+ "Action" : [
7+ " ec2:DescribeInstances" ,
8+ " ec2:DescribeTags" ,
9+ " ec2:CreateTags" ,
10+ " ec2:RunInstances"
11+ ],
12+ "Resource" : [" *" ]
13+ },
14+ {
15+ "Effect" : " Allow" ,
16+ "Action" : " iam:PassRole" ,
17+ "Resource" : " ${arn_runner_instance_role}"
18+ }
19+ ]
20+ }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ output "binaries_syncer" {
1616
1717output "webhook" {
1818 value = {
19+ gateway = module.webhook.gateway
1920 lambda = module.webhook.lambda
2021 lambda_role = module.webhook.lambda_role
2122 }
You can’t perform that action at this time.
0 commit comments