terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

Offer a way to download release assets

Open atrauzzi opened this issue 3 years ago • 1 comments

It would be nice if this resource exposed some way to obtain files associated with a release.

atrauzzi avatar Jun 13 '21 16:06 atrauzzi

I've this need and a bit of time to work on this if no one is working on it.

jcrqr avatar Sep 20 '22 09:09 jcrqr

Hi @crqra, Did you have a chance to make it work?

bogdangi avatar Nov 07 '22 13:11 bogdangi

This may be related to #1195.

kfcampbell avatar Nov 08 '22 01:11 kfcampbell

@bogdangi nop. I'll have a look this weekend. @kfcampbell for my particular case #1195 is the first step to get info about the assets, but I need another resource to get the asset's content (my use case is: have some JSON files in the release that I need to use in Terraform to deploy).

Looking at the comment from @atrauzzi I believe the use cases might be different. What you want is to get the file contents (aka download but be able to use the contents elsewhere in TF) or to actually get the file on disk?

jcrqr avatar Nov 18 '22 12:11 jcrqr

👋 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[bot] avatar Apr 22 '24 01:04 github-actions[bot]