Commit b4a1f804 authored by nimrod's avatar nimrod
Browse files

fixup! Packer hooks.

parent 305a075e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ repos:
      - id: check-yaml
      - id: detect-private-key
      - id: end-of-file-fixer
        exclude: VERSION
        exclude: VERSION|test_files
      - id: trailing-whitespace

  - repo: https://github.com/codespell-project/codespell.git
+14 −11
Original line number Diff line number Diff line
{
  "variables": {
    "access_key": "{{env `AWS_ACCESS_KEY_ID`}}",
    "secret_key": "{{env `AWS_SECRET_ACCESS_KEY`}}"
  },
  "builders": [{
    "type": "amazon-ebs",
  "builders": [
    {
      "access_key": "{{user `access_key`}}",
    "secret_key": "{{user `access_key`}}",
      "ami_name": "packer-example {{timestamp}}",
      "instance_type": "t1.micro",
      "region": "us-east-1",
      "secret_key": "{{user `access_key`}}",
      "source_ami": "ami-de0d9eb7",
    "instance_type": "t1.micro",
      "ssh_username": "ubuntu",
    "ami_name": "packer-example {{timestamp}}"
  }]
      "type": "amazon-ebs"
    }
  ],
  "variables": {
    "access_key": "{{env `AWS_ACCESS_KEY_ID`}}",
    "secret_key": "{{env `AWS_SECRET_ACCESS_KEY`}}"
  }
}