hashicorp / terraform-cdk-action

The Terraform CDK GitHub Action allows you to run CDKTF as part of your CI/CD workflow
Mozilla Public License 2.0
45 stars 18 forks source link

Allow action to work at airtight runners #178

Closed Hi-Fi closed 4 months ago

Hi-Fi commented 4 months ago

Description

Currently action wants to always download Terraform (https://github.com/hashicorp/terraform-cdk-action/blob/main/src/action.ts#L79) as a blocking operation, and would fail if download is not possible.

We have Github Enterprise Server with self-hosted, mostly airtight runners that have tools pre-installed and packages available through internal repositories.

Event there wouldn't be airtight runners, downloading Terraform every time would not probably be desired option but "force" the used version and including it in the runner itself.

I see kind of 2 options how this could be done with small changes:

Third option would be to allow giving download host/URI (before package name/version) so that internal repository could be used as a source.

References

No response

Help Wanted

Community Note

github-actions[bot] commented 3 months ago

I'm going to lock this issue because it has been closed for at least 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue so we can investigate further.