RemoteWorkStation: when codespaces just isn't enough.
Lately I've been shifting from my macbook to coding on an iPad. Given the software limitations and the fact that codespaces just doesn't cut it, I terraformed this VM with all the tools I need to work on my terminal.
- creates a VPC with a public subnet
- creates a security group and blocks all inbound traffic by default (add your IP from AWS Console)
- spins an instance (t2.micro) and attaches an EIP to it
- In order for it to work you must have:
- an IAM Role in AWS that grants VPC/S3/EC2 permissions to gh-actions
- create a policy that allows gh-actions to auth against AWS
- Once all is set it will create with the own
${{ GITHUB.TOKEN }}an issue where you have to approve the deploy