Hello.
I have an EC2 instance (Windows Server 2016) that holds 2 directories. These directories are shared to Everyone.
I tested this by opening Windows Explorer on my local PC and typed \\<Publlic_IP_of_EC2>\filename\ and I was able to see the files.
I am trying to use Vagrant to build another EC2 instance and sync the directories from my existing EC2 instance to the new one.
When I use the config.vm.sync.folder command, It get "The host path of the shared folder is missing.
The syntax I am using is:
config.vm.synced_folder 'smb://PublicIPAddressofEC2/c$/foldername/ ', "C:/vagrant", disabled: false, type: "smb", smb_host: "PublicIPAddressofEC2", smb_username: "Administrator", smb_password: <password to use when RDPing into EC2 Instance>, mount_options: ['vers=3.0']
I have also tried "//PublicIPAddressofEC2/foldername/" and "\\PublicIPAddressofEC2\foldername\ " , every time I get the error "The host path of the shared folder is missing".
Can you please help me understand why I get this error and how to get past it?
Kind Regards,
Dean