4 "associate_public_ip_address": "true",
8 "aws_source_ami": "ami-031283ff8a43b021c",
9 "build_environment": "aws",
10 "public_key_file": "",
12 "nvidia_gpu_support": "",
21 "profile": "{{ user `aws_profile`}}",
22 "access_key": "{{user `aws_access_key`}}",
23 "secret_key": "{{user `aws_secret_key`}}",
24 "region": "{{user `aws_default_region`}}",
25 "ena_support": "true",
26 "source_ami": "{{user `aws_source_ami`}}",
27 "instance_type": "m4.large",
28 "vpc_id": "{{user `vpc_id`}}",
29 "subnet_id": "{{user `subnet_id`}}",
30 "associate_public_ip_address": "{{user `associate_public_ip_address`}}",
31 "ssh_username": "{{user `ssh_user`}}",
32 "ami_name": "arvados-{{user `arvados_cluster`}}-compute-{{isotime \"20060102150405\"}}",
33 "launch_block_device_mappings": [{
34 "device_name": "/dev/xvda",
37 "delete_on_termination": true
39 "ami_block_device_mappings": [
41 "device_name": "/dev/xvdb",
43 "virtual_name": "ephemeral0"
46 "device_name": "/dev/xvdc",
48 "virtual_name": "ephemeral1"
52 "Name": "arvados-{{user `arvados_cluster`}}-compute",
53 "creation_date": "{{isotime \"20060102150405\"}}",
57 "Name": "packer-arvados-{{user `arvados_cluster`}}-compute-builder",
58 "creation_date": "{{isotime \"20060102150405\"}}",
59 "environment": "development"
62 "Name": "packer-arvados-{{user `arvados_cluster`}}-compute-builder",
63 "creation_date": "{{isotime \"20060102150405\"}}",
64 "environment": "development"
69 "source": "1078ECD7.asc",
70 "destination": "/tmp/1078ECD7.asc"
73 "source": "scripts/etc-cloud-cloud.cfg.d-07_compute_arvados_dispatch_cloud.cfg",
74 "destination": "/tmp/etc-cloud-cloud.cfg.d-07_compute_arvados_dispatch_cloud.cfg"
77 "source": "scripts/usr-local-bin-ensure-encrypted-partitions.sh",
78 "destination": "/tmp/usr-local-bin-ensure-encrypted-partitions.sh"
81 "source": "{{user `public_key_file`}}",
82 "destination": "/tmp/crunch-authorized_keys"
85 "execute_command": "sudo -S env {{ .Vars }} /bin/bash '{{ .Path }}'",
86 "script": "scripts/base.sh",
87 "environment_vars": ["RESOLVER={{user `resolver`}}","REPOSUFFIX={{user `reposuffix`}}","MKSQUASHFS_MEM={{user `mksquashfs_mem`}}","NVIDIA_GPU_SUPPORT={{user `nvidia_gpu_support`}}","CLOUD=aws"]