Skip to content

Copy File #199

@matttrach

Description

@matttrach

A resource to copy a file from one directory to another without reading the contents into state would be helpful.

file_copy_local resource

  • source_name
  • source_directory
  • source_checksum
  • dest_name
  • dest_directory
  • dest_checksum

Use io.Copy to move the file without reading it into memory.
file contents shouldn't be read into state

Use the source_checksum to determine if the source has changed from the copy and reconcile if so.

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