Test Kitchen EC2 的临时名称解析错误

Temporary name resolution error with Test Kitchen EC2

当我 运行 使用以下配置创建厨房时,出现错误:

"[getaddrinfo: Temporary failure in name resolution] on default-centos-7".

这个系统可以解决 dns 没有问题所以我不确定问题是什么...

---
driver:
  name: ec2
  aws_ssh_key_id: chef
  security_group_ids: ["sg-5d3276a0"]
  region: eu-east-1
  require_chef_omnibus: true
  instance_type: t1.micro
  associate_public_ip: true

provisioner:
  name: chef_zero
  cookbook_path: cookbooks
  roles_path: roles
  environments_path: environments
  data_bags_path: data_bags

platforms:
  - name: centos-7
    image_id: ami-96a818fe
    transport:
      ssh_key: /home/user/aws_key.pem
      username: root

suites:
  - name: default
    run_list:
      - recipe[website::default]
    attributes:

将平台更改为 ubuntu ami 会出现相同的错误。有什么想法吗?

没有 eu-east-1 区域。也许你的意思是 eu-west-1?