Skip to content

Commit 3bb6930

Browse files
authored
Merge branch 'main' into feat/auto-updating-ami
2 parents 30729f0 + 033bd1a commit 3bb6930

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ This repository contains the code to start a GitHub Actions runner on an AWS EC2
33
## Inputs
44
| Input | Description | Required for start | Default |
55
|-----------------------|--------------------------------------------------------------------------------------------------------------------|------------------- |---------|
6+
| arch | The AMI architecture | true | x64 |
67
| aws_home_dir | The AWS AMI home directory to use for your runner. Will not start if not specified. | true | |
78
| aws_iam_role | The optional AWS IAM role to assume for provisioning your runner. | false | |
89
| aws_image_id | The machine AMI to use for your runner. This AMI can be a default but should have docker installed in the AMI. If set to `latest`, aws_image_name is required | true | |
910
| aws_image_name | The name of AMI you want to use, only required if you don't specify `aws_image_id` | false | |
1011
| aws_instance_type | The type of instance to use for your runner. For example: t2.micro, t4g.nano, etc. Will not start if not specified.| true | |
1112
| aws_region_name | The AWS region name to use for your runner. Defaults to AWS_REGION | true | |
12-
| aws_root_device_size | The root device size in GB to use for your runner. | false | The AMI default root disk size |
13+
| aws_root_device_size | The root device size in GB to use for your runner. | false | The AMI default root disk size |
1314
| aws_security_group_id | The AWS security group ID to use for your runner. Will use the account default security group if not specified. | false | The default AWS security group |
1415
| aws_subnet_id | The AWS subnet ID to use for your runner. Will use the account default subnet if not specified. | false | The default AWS subnet ID |
1516
| aws_tags | The AWS tags to use for your runner, formatted as a JSON list. See `README` for more details. | false | |

src/start_aws_gha_runner/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def main():
3232
.update_state(
3333
"INPUT_AWS_ROOT_DEVICE_SIZE", "root_device_size", type_hint=int
3434
)
35+
.update_state("INPUT_ARCHITECTURE", "arch")
3536
# This is the default case
3637
.update_state("AWS_REGION", "region_name")
3738
# This is the input case

0 commit comments

Comments
 (0)