Skip to content

Commit 434e334

Browse files
committed
Enable dev/prod environments
1 parent 635ebbb commit 434e334

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+455
-35
lines changed

examples/multi-runner-cppal/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module "multi-runner" {
4444
# }
4545
# }
4646
aws_region = local.aws_region
47-
key_name = "cppalliance-us-west-2-kp"
47+
key_name = var.key_name
4848
vpc_id = module.base.vpc.vpc_id
4949
subnet_ids = module.base.vpc.private_subnets
5050
runners_scale_up_lambda_timeout = 60

examples/multi-runner-cppal/templates/runner-configs/ubuntu-bionic-arm64.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ runner_config:
2525
runners_maximum_count: 50
2626
scale_down_schedule_expression: cron(* * * * ? *)
2727
# userdata_template: ./templates/user-data.sh
28-
ami_owners:
29-
- "047402373783"
28+
ami_owners: [ "047402373783" ]
3029
ami_filter: { 'name': ['github-runner-ubuntu-bionic-arm64-202306161254'] }
3130
block_device_mappings:
3231
- device_name: /dev/sda1

examples/multi-runner-cppal/templates/runner-configs/ubuntu-bionic.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ runner_config:
2525
runners_maximum_count: 50
2626
scale_down_schedule_expression: cron(* * * * ? *)
2727
# userdata_template: ./templates/user-data.sh
28-
ami_owners:
29-
- "047402373783"
28+
ami_owners: [ "047402373783" ]
3029
ami_filter: { 'name': ['github-runner-ubuntu-bionic-amd64-202306161254'] }
3130
block_device_mappings:
3231
- device_name: /dev/sda1

examples/multi-runner-cppal/templates/runner-configs/ubuntu-focal-arm64.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ runner_config:
2525
runners_maximum_count: 50
2626
scale_down_schedule_expression: cron(* * * * ? *)
2727
# userdata_template: ./templates/user-data.sh
28-
ami_owners:
29-
- "047402373783"
28+
ami_owners: [ "047402373783" ]
3029
ami_filter: { 'name': ['github-runner-ubuntu-focal-arm64-202306161254'] }
3130
block_device_mappings:
3231
- device_name: /dev/sda1

examples/multi-runner-cppal/templates/runner-configs/ubuntu-focal.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ runner_config:
2525
runners_maximum_count: 200
2626
scale_down_schedule_expression: cron(* * * * ? *)
2727
# userdata_template: ./templates/user-data.sh
28-
ami_owners:
29-
- "047402373783"
28+
ami_owners: [ "047402373783" ]
3029
ami_filter: { 'name': ['github-runner-ubuntu-focal-amd64-202306161254'] }
3130
block_device_mappings:
3231
- device_name: /dev/sda1

examples/multi-runner-cppal/templates/runner-configs/ubuntu-jammy-arm64.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ runner_config:
2626
runners_maximum_count: 50
2727
scale_down_schedule_expression: cron(* * * * ? *)
2828
# userdata_template: ./templates/user-data.sh
29-
ami_owners:
30-
- "047402373783"
29+
ami_owners: [ "047402373783" ]
3130
ami_filter: { 'name': ['github-runner-ubuntu-jammy-arm64-202306161254'] }
3231
block_device_mappings:
3332
- device_name: /dev/sda1

examples/multi-runner-cppal/templates/runner-configs/ubuntu-jammy.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ runner_config:
2626
runners_maximum_count: 200
2727
scale_down_schedule_expression: cron(* * * * ? *)
2828
# userdata_template: ./templates/user-data.sh
29-
ami_owners:
30-
- "047402373783"
29+
ami_owners: [ "047402373783" ]
3130
ami_filter: { 'name': ['github-runner-ubuntu-jammy-amd64-202306161254'] }
3231
block_device_mappings:
3332
- device_name: /dev/sda1

examples/multi-runner-cppal/templates/runner-configs/windows-2019.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ runner_config:
2222
runners_maximum_count: 100
2323
scale_down_schedule_expression: cron(* * * * ? *)
2424
runner_boot_time_in_minutes: 20
25-
ami_owners:
26-
- "047402373783"
25+
ami_owners: [ "047402373783" ]
2726
ami_filter: { 'name': ['github-runner-windows-2019-amd64-202307212221'] }
2827
block_device_mappings:
2928
- device_name: /dev/sda1

examples/multi-runner-cppal/templates/runner-configs/windows-2022.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ runner_config:
2323
runners_maximum_count: 100
2424
scale_down_schedule_expression: cron(* * * * ? *)
2525
runner_boot_time_in_minutes: 20
26-
ami_owners:
27-
- "047402373783"
26+
ami_owners: [ "047402373783" ]
2827
ami_filter: { 'name': ['github-runner-windows-2022-amd64-202306202311'] }
2928
block_device_mappings:
3029
- device_name: /dev/sda1

examples/multi-runner-cppal/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ variable "aws_region" {
1717
default = "us-west-2"
1818
}
1919

20+
variable "key_name" {
21+
type = string
22+
default = "cppalliance-us-west-2-kp"
23+
}
24+
2025
variable "aws_default_vpc" {
2126
type = string
2227
default = null

0 commit comments

Comments
 (0)