Skip to content
Snippets Groups Projects
Commit b4a1f804 authored by nimrod's avatar nimrod
Browse files

fixup! Packer hooks.

parent 305a075e
Branches
Tags
No related merge requests found
......@@ -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
......
{
"builders": [
{
"access_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",
"ssh_username": "ubuntu",
"type": "amazon-ebs"
}
],
"variables": {
"access_key": "{{env `AWS_ACCESS_KEY_ID`}}",
"secret_key": "{{env `AWS_SECRET_ACCESS_KEY`}}"
},
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `access_key`}}",
"secret_key": "{{user `access_key`}}",
"region": "us-east-1",
"source_ami": "ami-de0d9eb7",
"instance_type": "t1.micro",
"ssh_username": "ubuntu",
"ami_name": "packer-example {{timestamp}}"
}]
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment