Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Provide 'Releases' data source #144

Closed
joshgodsiff opened this issue Sep 5, 2018 · 6 comments
Closed

[Feature Request] Provide 'Releases' data source #144

joshgodsiff opened this issue Sep 5, 2018 · 6 comments
Assignees
Labels
Good first issue Good for newcomers New data source Status: Stale Used by stalebot to clean house Status: Up for grabs Issues that are ready to be worked on by anyone

Comments

@joshgodsiff
Copy link

joshgodsiff commented Sep 5, 2018

I would find it useful to be able to retrieve release artefacts from GitHub via Terraform (i.e. the data that can technically be gotten from https://api.github.com/repos/:owner/:repo/releases and its sub-APIs at the moment).

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.

@radeksimko
Copy link
Contributor

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
Copy link
Author

joshgodsiff commented 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
Copy link

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)

@ghost ghost removed the Awaiting response label Jan 9, 2019
@jcudit jcudit added Good first issue Good for newcomers Status: Up for grabs Issues that are ready to be worked on by anyone labels Feb 4, 2020
@benj-fletch
Copy link
Contributor

benj-fletch commented 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?

jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 18, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 20, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 20, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 20, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 20, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 20, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 20, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 20, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 20, 2020
jcudit pushed a commit to terraformtesting/terraform-provider-github that referenced this issue Feb 20, 2020
jcudit pushed a commit that referenced this issue Feb 20, 2020
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this issue Jul 26, 2022
…releases-data-source

integrationsGH-144 - New Data Source: Github release
@github-actions
Copy link

👋 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!

@github-actions github-actions bot added the Status: Stale Used by stalebot to clean house label Dec 12, 2022
@kfcampbell
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first issue Good for newcomers New data source Status: Stale Used by stalebot to clean house Status: Up for grabs Issues that are ready to be worked on by anyone
Projects
None yet
Development

No branches or pull requests

6 participants