Copy

The copy resource allows files and directories to be copied from one location to another.

Examples

resource "copy" "myfiles" {
  source = "./myfolder"
  destination = "./mydestination"
  permissions = "0666"
}

Last updated