You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Provide 'Releases' data source #144
For context, I need to grab a release artefact that's being published to a private GitHub and deploy it to our infrastructure. The fact that it's private means that I can't just point TF at the public HTTPS endpoint for the artefact, and interacting with the API itself is complex enough it would require scripting.
Hi @kheldar
thanks requesting the mentioned data source.
Do you mind providing a bit more context about your use case? Specifically I'm curious which Terraform provider & resource would you use to deploy the artefact.
In this specific instance, I need to get it onto S3 (the artefact is a Lambda package). In general, it would be good to be able to pass this to any resource that can currently take a file.
That said, even being able to get a resolvable URL would be a pretty decent start.
We would like to get version numbers from a github release (or tag, but that is a different API and therefore probably a different data source from this card) that would then be used to deploy that version of a docker container with another terraform provider. (AWS in our case but could be anything else)
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
Activity
radeksimko commentedon Sep 5, 2018
Hi @kheldar
thanks requesting the mentioned data source.
Do you mind providing a bit more context about your use case? Specifically I'm curious which Terraform provider & resource would you use to deploy the artefact.
joshgodsiff commentedon Sep 5, 2018
In this specific instance, I need to get it onto S3 (the artefact is a Lambda package). In general, it would be good to be able to pass this to any resource that can currently take a file.
That said, even being able to get a resolvable URL would be a pretty decent start.
philnielsen commentedon Jan 9, 2019
Bumping this and also providing another use case.
We would like to get version numbers from a github release (or tag, but that is a different API and therefore probably a different data source from this card) that would then be used to deploy that version of a docker container with another terraform provider. (AWS in our case but could be anything else)
benj-fletch commentedon Feb 12, 2020
Hi, I'd like to work on this if possible? I notice it's an older ticket but believe there is still some value in providing this data source?
integrationsGH-144 - Added basic release functionality
integrationsGH-144 - Added handling for retrieving releases by variou…
integrationsGH-144 - Added fields retrieved from release API
integrationsGH-144 - Adding initial testing
integrationsGH-144 - Populated tests & small formatting changes
18 remaining items
Merge pull request #356 from dmwgroup/gh-144-releases-data-source
integrationsGH-144 - Added basic release functionality
integrationsGH-144 - Added handling for retrieving releases by variou…
integrationsGH-144 - Added fields retrieved from release API
integrationsGH-144 - Adding initial testing
integrationsGH-144 - Populated tests & small formatting changes
integrationsGH-144 - Adding documentation for release data source
integrationsGH-144 - Formatting files
integrationsGH-144 - Resolving PR comments
integrationsGH-144 - Fixing tests & adding validation to retrieve_by
Merge pull request integrations#356 from dmwgroup/integrationsgh-144-…
github-actions commentedon Dec 12, 2022
👋 Hey Friends, this issue has been automatically marked as
stalebecause it has no recent activity. It will be closed if no further activity occurs. Please add theStatus: Pinnedlabel if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!kfcampbell commentedon Dec 12, 2022
Closing this as #144 has been merged and released already. Please feel free to open up new issues for any problems that may crop up!