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
Support for github_actions_secret for personal repo #422
Error: This resource requires GitHub organization to be set on the provider. on main.tf line 31, in resource "github_actions_secret" "gcp_project":
31: resource "github_actions_secret" "gcp_project" {
hi @tnguyen14! thank you for creating this issue :) you're correct in tagging this issue to #45 . in continuing off the work done to address these individual vs. org resource management diffs, the linked PR #428 (builds off of #96) now has a change to allow actions secret and public-key data/resource to be made when a provider is set to an individual Github account
Based on the trail of eventually merged PRs that this issue is linked to, this might have been fixed in version 2.9.0 of the github provider. I haven't tested it out yet though. @sogaoh are you sure you're on 2.9.0 of the Terraform GitHub Provider? If it still isn't working, maybe mentioning that in #501 would help the team out.
hi @sogaoh, thanks for commenting here. apologies my comment from before is outdated. #464 and #465 introduced support for individual repositories but atm, this is only true for resources prefixed with repository. We decided it was best to roll out the individual repo support across batches of related resources instead of update all resources across the provider at once. With this issue, however, we can keep track of the resources still needing support.
Activity
anGie44 commentedon Apr 17, 2020
hi @tnguyen14! thank you for creating this issue :) you're correct in tagging this issue to #45 . in continuing off the work done to address these individual vs. org resource management diffs, the linked PR #428 (builds off of #96) now has a change to allow actions secret and public-key data/resource to be made when a provider is set to an individual Github account
sogaoh commentedon Jul 1, 2020
@anGie44 Please tell me how to create a github_actions_secret of individual Github repository.
I coudn't do it today...
My codes are below: (Sorry in Japanese.)
https://github.com/sogaoh/TerraformPractice/tree/master/VCS/GitHub
adamnbowen commentedon Jul 1, 2020
Based on the trail of eventually merged PRs that this issue is linked to, this might have been fixed in version 2.9.0 of the github provider. I haven't tested it out yet though. @sogaoh are you sure you're on 2.9.0 of the Terraform GitHub Provider? If it still isn't working, maybe mentioning that in #501 would help the team out.
sogaoh commentedon Jul 1, 2020
@adamnbowen Yes. I did on
provider.github v2.9.0.I'll mention on #501 .
anGie44 commentedon Jul 1, 2020
hi @sogaoh, thanks for commenting here. apologies my comment from before is outdated. #464 and #465 introduced support for individual repositories but atm, this is only true for resources prefixed with
repository. We decided it was best to roll out the individual repo support across batches of related resources instead of update all resources across the provider at once. With this issue, however, we can keep track of the resources still needing support.