Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refreshing state does not handle manually removed resources #49

Open
dansali opened this issue May 26, 2021 · 0 comments
Open

Refreshing state does not handle manually removed resources #49

dansali opened this issue May 26, 2021 · 0 comments

Comments

@dansali
Copy link

dansali commented May 26, 2021

When manually removing a resource that the codefresh provider has created, instead of it recreating the removed resource on the next plan/apply, it throws an error (404) and halts plan/apply.

I've noticed this for a pipeline, but I suspect it might affect other resources too.

The refreshed state will be used to calculate this plan, but will not be                                                                                                                         
persisted to local or remote state storage.   

codefresh_pipeline.pipelines["..."]: Refreshing state... [id=60adecb19acab6d815ff60d3]                        
                                                                  
Error: 404 Not Found, {"status":404,"code":"4201","name":"PIPELINE_NOT_FOUND_ERROR","message":"Could not find pipeline: 60adecb19acab6d815ff60d3","context":{"id":"60adecb19acab6d815ff60d3"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant