provisioner "file" { source = "/terraform/jetpatch/Terraform-DeployJetPatchConnectorFromInternetOnLinux.sh" destination = "/tmp/Terraform-DeployJetPatchConnectorFromInternetOnLinux.sh" } provisioner "remote-exec" { inline = [ "chmod +x /tmp/Terraform-DeployJetPatchConnectorFromInternetOnLinux.sh", "sudo /tmp/Terraform-DeployJetPatchConnectorFromInternetOnLinux.sh", ] } }