github.com/hashicorp/packer@v1.14.3/command/test-fixtures/hcl2_upgrade/source-name/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              "name": " party parrot ",
    12              "region": "{{ user `aws_region` }}",
    13              "secret_key": "{{ user `aws_secret_key` }}",
    14              "access_key": "{{ user `aws_access_key` }}",
    15              "ami_name": "ubuntu-16-04-test-{{ timestamp }}",
    16              "ami_description": "Ubuntu 16.04 LTS - expand root partition",
    17              "source_ami": "ami1234567",
    18              "launch_block_device_mappings": [
    19                  {
    20                      "delete_on_termination": true,
    21                      "device_name": "/dev/sda1",
    22                      "volume_type": "gp2",
    23                      "volume_size": 48
    24                  }
    25              ],
    26              "spot_price": "0.0075",
    27              "spot_instance_types": [
    28                  "t2.small",
    29                  "t2.medium",
    30                  "t2.large"
    31              ],
    32              "encrypt_boot": true,
    33              "ssh_username": "ubuntu",
    34              "temporary_iam_instance_profile_policy_document": {
    35                  "Version": "2012-10-17",
    36                  "Statement": [
    37                      {
    38                          "Effect": "Allow",
    39                          "Action": [
    40                              "*"
    41                          ],
    42                          "Resource": ["*"]
    43                      }
    44                  ]
    45              },
    46              "ssh_interface": "session_manager"
    47          }
    48      ]
    49  }