Tecla de acceso VagrantFile, AWS
-
21-12-2019 - |
Pregunta
¿Cuáles son los Aws.Access_Key_ID, aws.Secret_Access_Key, aws.keypair_name.¿Y qué deben ser sus valores?
SNIPPET de: http://www.chrisle.ME / 2013/08 / RUNNE-CRABLE-SELENIUM-SELENIO-WITH-Chrome /
No coincide con las instrucciones aquí: https://github.com/mitchellh/vagrant-ajes
# encoding: utf-8
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.ssh.forward_agent = true
config.vm.provider :aws do |aws, override|
aws.access_key_id = 'XXXX' # Replace this
aws.secret_access_key = 'XXXX' # Replace this
aws.keypair_name = 'XXXX' # Replace this
aws.ami = 'ami-7747d01e' # ubuntu 12.04
override.ssh.username = 'ubuntu'
override.ssh.private_key_path = '~/.ssh/amazon-ubuntu.pem'
end
config.vm.provision :shell, :path => "setup.sh"
config.vm.network :forwarded_port, guest:4444, host:4444
end
Solución
Es la ID clave y la clave de acceso secreto de su usuario en Amazon Web Services.
Consulte el manual para saber dónde obtener: http:// docs.aws.amazon.com/awsssimplequeueservice/latest/sqsgettingstartedguide/awscrenentials.html
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow