Skip to content

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

Closed

Description

@joshgodsiff

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.

Activity

  1. radeksimko commented on Sep 5, 2018

    @radeksimko
    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.

  2. joshgodsiff commented on Sep 5, 2018

    @joshgodsiff
    Author

    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.

  3. philnielsen commented on Jan 9, 2019

    @philnielsen

    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)

  4. added
    Good first issue
    Status: Up for grabs
    on Feb 4, 2020
  5. benj-fletch commented on Feb 12, 2020

    @benj-fletch
    Contributor

    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?

  6. added 5 commits that reference this issue on Feb 18, 2020
  7. 18 remaining items

  8. added a commit that references this issue on Feb 20, 2020
  9. added 10 commits that reference this issue on Jul 26, 2022
  10. github-actions commented on Dec 12, 2022

    @github-actions

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

  11. added
    Status: Stale
    on Dec 12, 2022
  12. kfcampbell commented on Dec 12, 2022

    @kfcampbell
    Contributor

    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

Metadata

Metadata

Assignees

Labels

Good first issueNew data sourceStatus: StaleStatus: Up for grabs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions