terraform-example-foundation icon indicating copy to clipboard operation
terraform-example-foundation copied to clipboard

Google Cloud Foundation Bootstrapping fail due to github secret_key 404 Not Found

Open edoc-intg opened this issue 1 year ago • 3 comments

TL;DR

Cloned the repo from github and used our service account and modified the terraform.tfvars file with our inputs.The setup is failing with below error :

Error: GET https://api.github.com/repos/edoc-intg/netwrk-demo/actions/secrets/public-key: 404 Not Found [] │ │ with github_actions_secret.secrets["net.TF_VAR_gh_token"], │ on github.tf line 102, in resource "github_actions_secret" "secrets": │ 102: resource "github_actions_secret" "secrets" { │

The above error is coming for all the repos

Please can you provide assistance ..

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

Error: GET https://api.github.com/repos/edoc-intg/netwrk-demo/actions/secrets/public-key: 404 Not Found []
│ 
│   with github_actions_secret.secrets["net.TF_VAR_gh_token"],
│   on github.tf line 102, in resource "github_actions_secret" "secrets":
│  102: resource "github_actions_secret" "secrets" {
│

Terraform Version

Terraform v1.8.5

Additional information

No response

edoc-intg avatar Jun 26 '24 07:06 edoc-intg