6 "build_environment": "aws",
8 "aws_source_ami": "ami-04d70e069399af2e9",
13 "public_key_file": "",
14 "associate_public_ip_address": "true"
18 "profile": "{{ user `aws_profile`}}",
19 "access_key": "{{user `aws_access_key`}}",
20 "secret_key": "{{user `aws_secret_key`}}",
21 "region": "{{user `aws_default_region`}}",
22 "ena_support": "true",
23 "source_ami": "{{user `aws_source_ami`}}",
24 "instance_type": "m4.large",
25 "vpc_id": "{{user `vpc_id`}}",
26 "subnet_id": "{{user `subnet_id`}}",
27 "associate_public_ip_address": "{{user `associate_public_ip_address`}}",
28 "ssh_username": "{{user `ssh_user`}}",
29 "ami_name": "arvados-{{user `arvados_cluster`}}-compute-{{isotime \"20060102150405\"}}",
30 "ami_block_device_mappings": [
32 "device_name": "/dev/xvdb",
34 "virtual_name": "ephemeral0"
37 "device_name": "/dev/xvdc",
39 "virtual_name": "ephemeral1"
43 "Name": "arvados-{{user `arvados_cluster`}}-compute",
44 "creation_date": "{{isotime \"20060102150405\"}}",
48 "Name": "packer-arvados-{{user `arvados_cluster`}}-compute-builder",
49 "creation_date": "{{isotime \"20060102150405\"}}",
50 "environment": "development"
53 "Name": "packer-arvados-{{user `arvados_cluster`}}-compute-builder",
54 "creation_date": "{{isotime \"20060102150405\"}}",
55 "environment": "development"
60 "source": "1078ECD7.asc",
61 "destination": "/tmp/1078ECD7.asc"
64 "source": "scripts/etc-cloud-cloud.cfg.d-07_compute_arvados_dispatch_cloud.cfg",
65 "destination": "/tmp/etc-cloud-cloud.cfg.d-07_compute_arvados_dispatch_cloud.cfg"
68 "source": "scripts/usr-local-bin-ensure-encrypted-partitions.sh",
69 "destination": "/tmp/usr-local-bin-ensure-encrypted-partitions.sh"
72 "source": "{{user `public_key_file`}}",
73 "destination": "/tmp/crunch-authorized_keys"
76 "execute_command": "sudo -S env {{ .Vars }} /bin/bash '{{ .Path }}'",
77 "script": "scripts/base.sh",
78 "environment_vars": ["ROLE=compute","RESOLVER={{user `resolver`}}","REPOSUFFIX={{user `reposuffix`}}"]