Description
The statefile and provisioners will happily create any resources referenced by the Score spec, however, these resources are not cleaned up if they are no longer referenced!
We need to add support for:
- After
generate
log a warning message indicating any resources in the statefile that are no longer used in the workload. - Indicate these "left over" resources in the
score-compose resources list
table. - Support a
deprovision
subcommand which calls the provisioner with theDELETE
action and waits for the provisioner to return before removing it from the state file.
There is a similar issue open in score-k8s.