---
driver:
  name: ec2
  aws_access_key_id: <%= ENV['AWS_ACCESS_KEY_ID'] %>
  aws_secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY'] %>
  aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %>
  region: "us-west-2"
  availability_zone: "us-west-2a"
  security_group_ids: ["travis-ci"]
  instance_type: "m3.medium"

provisioner:
  name: chef_github
  github_owner: "chef"
  github_repo: "chef"
  refname: <%= ENV['TRAVIS_COMMIT'] %>
  github_access_token: <%= ENV['KITCHEN_GITHUB_TOKEN'] %>
  data_path: test/fixtures
# disable file provider diffs so we don't overflow travis' line limit
  client_rb:
    diff_disabled: true

transport:
  ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>

platforms:
  - name: ubuntu-12.04
    driver:
      # http://cloud-images.ubuntu.com/locator/ec2/
      # 12.04 amd64 us-west-2 hvm:ssd
      image_id: ami-f3635fc3
  - name: rhel-6
    driver:
      # https://github.com/chef/releng-chef-repo/blob/master/script/ci#L93-L96
      image_id: ami-7df0bd4d

suites:
  - name: webapp
    run_list:
      - recipe[apt::default]
      - recipe[webapp::default]
    attributes:

---
driver:
  name: ec2
  aws_ssh_key_id: <%= ENV['AWS_KEYPAIR_NAME'] %>
  region: "us-west-2"
  availability_zone: "us-west-2a"
  security_group_ids: ["travis-ci"]
  instance_type: "m3.medium"

provisioner:
  name: chef_github
  github_owner: "chef"
  github_repo: "chef"
  refname: <%= ENV['TRAVIS_COMMIT'] %>
  github_access_token: <%= ENV['KITCHEN_GITHUB_TOKEN'] %>
  data_path: test/fixtures
# disable file provider diffs so we don't overflow travis' line limit
  client_rb:
    diff_disabled: true

transport:
  ssh_key: <%= ENV['EC2_SSH_KEY_PATH'] %>

platforms:
  - name: ubuntu-12.04
    driver:
      # http://cloud-images.ubuntu.com/locator/ec2/
      # 12.04 amd64 us-west-2 hvm:ssd
      image_id: ami-f3635fc3
  - name: rhel-6
    driver:
      # https://github.com/chef/releng-chef-repo/blob/master/script/ci#L93-L96
      image_id: ami-7df0bd4d

suites:
  - name: webapp
    run_list:
      - recipe[apt::default]
      - recipe[webapp::default]
    attributes:

Use only the AWS environment variables to pass credentials, since thats what kitchen-ec2 master wants
Use only the AWS environment variables to pass credentials, since thats what kitchen-ec2 master wants
