terraform-provider-local
terraform-provider-local copied to clipboard
Allow preserving files on destroy
This change introduces the preserve_on_destroy option for the
local_file resource. This defaults to false, but when set to true
will ensure that the file is preserved when the resource is destroyed in
Terraform.
Resolves: #7
This would come in handy for one of my use cases. Any appetite in merging this?
Hello, Same use case and same issue :) any update regarding this ? thanks in advance.
@appilon @radeksimko I've rebased the change, would be great to get this one merged.
It looks like there is a conflict on this change. Would be great if this gets merged
Any chance of getting the conflicts resolved and change submitted? This is a useful feature when running tests written in terraform and conditionally updating golden files on disk.
Rebased. Not sure if it helps anyone though. :smile: