github.com/amanya/packer@v0.12.1-0.20161117214323-902ac5ab2eb6/test/fixtures/provisioner-file/dir_no_trailing_sftp.json (about) 1 { 2 "builders": [{ 3 "type": "amazon-ebs", 4 "ami_name": "packer-test {{timestamp}}", 5 "instance_type": "t2.micro", 6 "region": "us-east-1", 7 "ssh_username": "ec2-user", 8 "ssh_file_transfer_method": "sftp", 9 "source_ami": "ami-8da458e6", 10 "tags": { 11 "packer-test": "true" 12 } 13 }], 14 15 "provisioners": [{ 16 "type": "file", 17 "source": "dir", 18 "destination": "/tmp" 19 }, { 20 "type": "shell", 21 "inline": ["cat /tmp/dir/file.txt"] 22 }] 23 }