integrations / integrations/terraform-provider-github

[FEAT]: Data source for Actions outputs (artifacts, etc.)

Open
#2,591 1 comment 0 reactions 0 assignees View on GitHub
New data source Status: Triage Type: Feature
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Describe the need

We're trying to consume GHA output (namely Lambda layers we build in GitHub Actions) inside our Tofu config. Our Tofu runner has context on the Git commit that spawned the run, but I don't see any data source corresponding to Actions artifacts.

It's probably feasible to download build artifacts via the `github_rest_api` data source, but this would require traversing several abstraction layers (actions run IDs for a commit, etc.) and be generally unwieldy to use.

### SDK Version

_No response_

### API Version

_No response_

### Relevant log output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.