Loading .pre-commit-config.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading test_files/packer.json +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`}}" } } Loading
.pre-commit-config.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
test_files/packer.json +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`}}" } }