Olá, Travei nessa etapa! Estou com o erro que não consigo resolver: "Value () for parameter groupId is invalid. The value cannot be empty", quando tento subir o AWS com vagrant.
Pesquisando no forum encontrei algumas soluções alterando a região, mas no meu caso não surtiu efeito.
Podem ajudar?
config.vm.provider :aws do |aws, override|
aws.access_key_id = "AKIAISTXQ7BHFJK3YPLA"
aws.secret_access_key = "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"
aws.keypair_name = "devops"
aws.ami = "ami-8f78c2f7"
aws.security_groups = ['sg-a332dedd']
aws.region = "us-west-2"
override.ssh.username = "ubuntu"
override.ssh.private_key_path = "devops.pem"
end
Resultado:
C:\Users\Lucas\estudos\appteste\.vagrant>vagrant up --provider=aws
Bringing machine 'web' up with 'aws' provider...
==> web: Preparing SMB shared folders...
web: You will be asked for the username and password to use for the SMB
web: folders shortly. Please use the proper username/password of your
web: account.
web:
web: Username: CassioSantos
web: Password (will be hidden):
==> web: Warning! The AWS provider doesn't support any of the Vagrant
==> web: high-level network configurations (`config.vm.network`). They
==> web: will be silently ignored.
==> web: Launching an instance with the following settings...
==> web: -- Type: m3.medium
==> web: -- AMI: ami-8f78c2f7
==> web: -- Region: us-west-2
==> web: -- Keypair: devops
==> web: -- Security Groups: ["sg-a332dedd"]
==> web: -- Block Device Mapping: []
==> web: -- Terminate On Shutdown: false
==> web: -- Monitoring: false
==> web: -- EBS optimized: false
==> web: -- Source Destination check:
==> web: -- Assigning a public IP address in a VPC: false
==> web: -- VPC tenancy specification: default
==> web: Warning! Vagrant might not be able to SSH into the instance.
==> web: Please check your security groups settings.
There was an error talking to AWS. The error message is shown
below:
InvalidParameterValue => Value () for parameter groupId is invalid. The value cannot be empty