Sha256: 97aec005a6cc860f168d0944621352f990780a9d2b569faa45bce8a9fe9664be

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

{
  "builders": [
    {
      "access_key": "{{user `aws_access_key`}}",
      "ami_name": "{{user `ami_tag`}} {{timestamp}}",
      "associate_public_ip_address": true,
      "ena_support": true,
      "instance_type": "c5.large",
      "launch_block_device_mappings": [
        {
          "delete_on_termination": true,
          "device_name": "/dev/sda1",
          "volume_size": 8,
          "volume_type": "gp2"
        }
      ],
      "region": "us-east-1",
      "run_tags": {
        "kind": "packer",
        "role": "AMI builder"
      },
      "secret_key": "{{user `aws_secret_key`}}",
      "source_ami": "{{user `source_ami`}}",
      "ssh_interface": "public_ip",
      "ssh_username": "ubuntu",
      "subnet_id": "{{user `subnet_id`}}",
      "tags": {
        "Name": "{{user `ami_tag`}}",
        "created_at": "{{isotime}}",
        "parent_ami": "{{user `source_ami`}}"
      },
      "type": "amazon-ebs",
      "vpc_id": "{{user `vpc_id`}}"
    }
  ],
  "post-processors": [],
  "provisioners": [
    {
      "cookbook_paths": [
        "cookbooks",
        "site-cookbooks"
      ],
      "run_list": [
        "{{user `cookbook_name`}}"
      ],
      "skip_install": true,
      "type": "chef-solo"
    }
  ],
  "variables": {
    "ami_tag": "",
    "aws_access_key": "",
    "aws_secret_key": "",
    "cookbook_name": "",
    "source_ami": "",
    "subnet_id": "",
    "vpc_id": ""
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hashicorptools-0.2.3 lib/hashicorptools/ami_configs/standard-ami.json
hashicorptools-0.2.2 lib/hashicorptools/ami_configs/standard-ami.json