| github-token | GitHub Personal Access Token with the 'repo' scope. | yes | — |
| subnet-id | The subnet ID that the EC2 instance will be created in. This subnet and security group should be in the same VPC. | no | — |
| security-group-id | EC2 Security Group Id. This subnet and security group should be in the same VPC. The runner itself just needs to be able to make an outbound HTTPS connection. No inbound traffic is needed. | no | — |
| launch-template | Set 'true' to use the launch template, set 'false' to use image id and explicit configuration parameters. Defaults to false. | no | — |
| launch-template-id | Launch template id from the EC2 console. Set only if using the launch template approach. Either a template ID or template name is required, but both can't be used at the same time. | no | — |
| launch-template-name | Launch template name from the EC2 console. Set only if using the launch template approach. Either a template ID or template name is required, but both can't be used at the same time. | no | — |
| launch-template-version | Launch template version to use. Set only if using the launch template approach. | no | — |
| image-id | The AMI ID to use. | no | — |
| runner-directory | The directory in which the runner was installed in. This is the directory where the startup commands will run. | yes | — |
| region | The AWS region. Defaults to us-east-1. | no | — |
| instance-type | EC2 Instance Type. Defaults to t2.micro. | no | — |
| iam-role-name | IAM Role Name to attach to the created EC2 instance. Note that this requires additional AWS permissions. | no | — |
| key-name | The keypair name to attach to the instance. Useful for SSHing into your instance. | no | — |
| retry-delay | The amount of seconds to wait before re-checking if the instance is registered as a runner yet. The default is to try every 5 seconds, up to 12 times. So we wait 60 seconds in total. | no | — |
| retry-amount | The number of times to re-check if the instance is registered as a runner yet. The default is to try every 5 seconds, up to 12 times. So we wait 60 seconds in total. | no | — |
| startup-commands | A list of commands to run on startup. This replaces the default startup commands. You can use these tokens in your commands and they will be replaced: {repoUrl} - The URL of the repo. {name} - The random instance name. {token} - The github runner token. {label} - The random label for the runner. | no | — |
| ec2-tags | The tags to attach to the EC2 instance. Note that this requires additional AWS permissions. | no | — |