I am extremely confused on why this occurs when using Packer. What I want to do is move a local redis.conf file over to my AMI; however, it gives me an error as I do this. My Packer provisioner is like so:
{
"type": "file",
"source": "../../path/to/file/redis.conf",
"destination": "/etc/redis/redis.conf"
}
And then it returns an error saying: scp /etc/redis/: Permission denied