Skip to content

Refreshing state does not handle manually removed resources #49

Open
@dansali

Description

@dansali

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"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions