github.com/hashicorp/packer@v1.14.3/command/test-fixtures/hcl2_upgrade/minimal/input.json (about)

     1  {
     2      "min_packer_version": "1.6.0",
     3      "variables": {
     4          "aws_region": null,
     5          "aws_secret_key": "",
     6          "aws_access_key": ""
     7      },
     8      "builders": [
     9          {
    10              "type": "amazon-ebs",
    11              "region": "{{ user `aws_region` }}",
    12              "secret_key": "{{ user `aws_secret_key` }}",
    13              "access_key": "{{ user `aws_access_key` }}",
    14              "ami_name": "ubuntu-16-04-test",
    15              "ami_description": "Ubuntu 16.04 LTS - expand root partition",
    16              "source_ami": "ami1234567",
    17              "launch_block_device_mappings": [
    18                  {
    19                      "delete_on_termination": true,
    20                      "device_name": "/dev/sda1",
    21                      "volume_type": "gp2",
    22                      "volume_size": 48
    23                  }
    24              ],
    25              "spot_price": "0.0075",
    26              "spot_instance_types": [
    27                  "t2.small",
    28                  "t2.medium",
    29                  "t2.large"
    30              ],
    31              "encrypt_boot": true,
    32              "ssh_username": "ubuntu",
    33              "temporary_iam_instance_profile_policy_document": {
    34                  "Version": "2012-10-17",
    35                  "Statement": [
    36                      {
    37                          "Effect": "Allow",
    38                          "Action": [
    39                              "*"
    40                          ],
    41                          "Resource": ["*"]
    42                      }
    43                  ]
    44              },
    45              "ssh_interface": "session_manager"
    46          }
    47      ]
    48  }