sparse-intern-71089
04/20/2023, 12:18 PMcuddly-nightfall-71097
04/20/2023, 12:30 PMGITHUB_TOKEN
set to something which has admin rights. And AWS credentials.
4. This doesn't really work for autoscaling (I haven't got there), so scaling is adding / removing ec2 instances in the script and redeploying. You can wrap all runner things into a single component resource (https://www.pulumi.com/docs/intro/concepts/resources/components/).
5. Obviously this doesn't work when pulumi needs to re-create ec2 instance - registration token won't be updated and most likely it will be outdated. There are some discussions to address such circular dependencies in Pulumi, but they are wip.
6. You may check the recommended autoscaling bot for inspiration: https://github.com/philips-labs/terraform-aws-github-runnerdry-sugar-28823
04/20/2023, 12:41 PM