trufflesecurity / of-CORS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Error retrieving build

nano6yt3 opened this issue · comments

Hi,

I was able to run pass this point the first time I ran the setup manually not using the docker container. But, this second time I encounter the following problem. There is no app in Heroku since I removed it manually after the first setup broke after this point.

╷
│ Error: Error retrieving build: Get "https://api.heroku.com/apps/f6cac79c8": You do not have the required access to the app f6cac..3363
│
│   with module.heroku.heroku_build.of_cors,
│   on heroku/main.tf line 25, in resource "heroku_build" "of_cors":
│   25: resource "heroku_build" "of_cors" {
│
│ Error: Error retrieving domain: Get "https://api.heroku.com/apps/f6cac7e12": Couldn't find that app.
│
│   with module.heroku.heroku_domain.top_domain["example.com"],
│   on heroku/main.tf line 41, in resource "heroku_domain" "top_domain":
│   41: resource "heroku_domain" "top_domain" {
│
│ Error: Error retrieving domain: Get "https://api.heroku.com/apps/f6cac868f9c0": Couldn't find that app.
│
│   with module.heroku.heroku_domain.wild_sub_domain["example.com"],
│   on heroku/main.tf line 47, in resource "heroku_domain" "wild_sub_domain":
│   47: resource "heroku_domain" "wild_sub_domain" {
│
make: *** [deploy_infrastructure] Error 1```

Are you able to offer any guidance?  ty

Solution: Remove terraform.tfstate file