File tree Expand file tree Collapse file tree 5 files changed +53
-35
lines changed Expand file tree Collapse file tree 5 files changed +53
-35
lines changed Original file line number Diff line number Diff line change 1
- output "action_runners " {
1
+ output "runners " {
2
2
value = {
3
3
runners = module.runners.runners
4
4
}
5
5
}
6
6
7
+ # output "binaries_syncer" {
8
+ # value = {
9
+ # binaries_syncer = module.runners.binaries_syncer
10
+ # }
11
+ # }
7
12
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
+ }
15
17
}
16
-
17
-
Original file line number Diff line number Diff line change @@ -43,6 +43,15 @@ module "runners" {
43
43
44
44
s3_bucket_runner_binaries = module. runner_binaries . bucket
45
45
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
46
55
}
47
56
48
57
module "runner_binaries" {
Original file line number Diff line number Diff line change 1
1
{
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 1
1
{
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" {
16
16
17
17
output "webhook" {
18
18
value = {
19
+ gateway = module.webhook.gateway
19
20
lambda = module.webhook.lambda
20
21
lambda_role = module.webhook.lambda_role
21
22
}
You can’t perform that action at this time.
0 commit comments