mercredi 29 avril 2015

Issues Conneting AWS through Vagrant

Hi I am new to Vagrant.

My objective is to connect to AWS without mentioning the credentials in the vagrantfile. I have created a new file called credentials under my cloned repository with the required keys.

In the vagrant file I have given it as

config.vm.provision "aws-credentials", type: "file", source: "credentials", destination: "~/.aws/credentials"

when I am trying to access AWS using the command "vagrant up --provider=aws"

I am getting the error saying

  • An access key Id is required
  • A secret access key is required.

Why is the file not being read. Could some one help me.




Aucun commentaire:

Enregistrer un commentaire