Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Unknow region #562

Closed
sobi3ch opened this issue Sep 14, 2019 · 1 comment
Closed

Unknow region #562

sobi3ch opened this issue Sep 14, 2019 · 1 comment

Comments

@sobi3ch
Copy link

sobi3ch commented Sep 14, 2019

I was trying several times but without success. I've setup my access and secrets but nothing helps. For vagrant it looks like region doesn't exists
With this Vagrantfile

Vagrant.configure(2) do |config|
  config.vm.box = 'packer_amazon-ebs_aws'

  config.vm.provider :aws do |aws, override|
    #aws.access_key_id = 'YOUR KEY'
    #aws.secret_access_key = 'YOUR SECRET KEY'
    aws.access_key_id = ENV['AWS_ACCESS_KEY_ID']
    aws.secret_access_key = ENV['AWS_SECRET_ACCESS_KEY']
    #aws.session_token = 'SESSION TOKEN'
    aws.keypair_name = 'awsstockholm'
    aws.region = 'eu-north-1'
    aws.ami = 'ami-03aad3c3037c4cd11'
    override.ssh.username = 'ubuntu'
    override.ssh.private_key_path = '~/.ssh/awsstockholm.pem'
  end
end

I'm getting this error:

$ vagrant up --provider=aws
/home/me/.vagrant.d/gems/2.4.5/gems/fog-aws-2.0.1/lib/fog/aws.rb:237:in `validate_region!': Unknown region: "eu-north-1" (ArgumentError)
@sobi3ch sobi3ch closed this as completed Sep 14, 2019
@sobi3ch sobi3ch reopened this Sep 14, 2019
@sobi3ch
Copy link
Author

sobi3ch commented Sep 14, 2019

Closing, duplicated here #555

@sobi3ch sobi3ch closed this as completed Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant