Can I specify Version with "runs-on"?

Github Action virtual-environments recently migrated to Terraform 0.13.0 we intend to upgrade soon. However we need to leverage Environment: ubuntu-18.04 Version: 20200806.0 in the meantime. Is it possible to specify this specific version with runs-on?

If you use GitHub hosted runners, the only available virtual environments are the ones listed here:

You could create a Docker image and specify that as container if you have specific environment requirements. This is only an option for Linux though.

2 Likes