Commit Graph

26 Commits

Author SHA1 Message Date
Rickard von Essen ce411a0d17 Added docs for SourceAMI and BuildRegion template 2017-01-21 20:39:58 +01:00
Chris Bednarski b7c73b89ac Propagate block device doc changes to AWS chroot and instance builder docs 2017-01-17 21:32:18 -08:00
Kerim Satirli 73a50ff91f updates quoting for `amazon-instance.html.md` 2016-12-07 09:29:45 +01:00
Rickard von Essen c3a352955e amazon: Added snapshot_users and snapshot_groups 2016-12-04 16:03:01 +01:00
Matthew Hooker 832de2104b
Revert "Merge pull request #4230 from mitchellh/revert-4223-closes_3320"
This reverts commit bda89b0c42, reversing
changes made to f9f9d82419.
2016-11-30 13:28:34 -08:00
Matthew Hooker f5c3c25d2b Revert "Adds `force_delete_snapshot` flag" 2016-11-30 13:10:22 -08:00
Matthew Hooker f9f9d82419 Merge pull request #4223 from artburkart/closes_3320
Adds `force_delete_snapshot` flag
2016-11-30 12:53:34 -08:00
Rickard von Essen d8ef6d1977 Fixed formatting of source_ami_filter example 2016-11-30 12:32:46 +01:00
Arthur Burkart 5b59f56cdb Adds `force_delete_snapshot` flag
This PR adds the ability for Packer to clean up snapshots in addition to
deregistering AMIs at build time.

To test this, I used the following `test.json` file:

```json
{
  "builders": [
    {
      "type": "amazon-ebs",
      "region": "us-east-1",
      "source_ami": "ami-fce3c696",
      "ami_name": "packer-test",
      "instance_type": "m3.medium",
      "ssh_username": "ubuntu",
      "vpc_id": "some-vpc-id",
      "subnet_id": "some-subnet-routed-through-igw",
      "security_group_id": "some-security-group-with-port-22-access",
      "force_delete_snapshot": true
    }
  ],
  "provisioners": [
    {
      "type": "shell-local",
      "command": "echo 'hello'"
    }
  ]
}

```

I appreciate any constructive feedbakc that can be given. Cheers!
2016-11-29 23:39:36 -05:00
Arthur Burkart 1a0dc767f3 Rolls back `partials` work, but still consolidates
Since the packer website isn't yet ready to use middleman partials,
this commit rolls back the partials in favor of bringing parity to
each amazon docs page
2016-11-28 15:08:39 -05:00
Arthur Burkart 5499c37080 Adds add'l docs regarding delete_on_termination
This PR adds documentation pointing out that volumes are not by
default deleted on termination of any AWS EC2 instance during a
packer build.
2016-11-28 15:07:48 -05:00
Arthur Burkart 2e65867cba Closes #3908: Adds snapshot tag overrides
This commit adds the ability to configure unique tags on snapshots
that are separate from the tags defined on the AMI. Anything applied
to the AMI will also be applied to the snapshots, but `snapshot_tags`
will override and append tags to the tags already applied to the snapshots
2016-11-15 23:16:27 -05:00
Matthew Hooker 970b37077e Merge pull request #4050 from jen20/ssh-agent
builder/amazon: Allow use of local SSH Agent
2016-11-01 17:27:37 -07:00
Rickard von Essen d16d5d9686 Merge pull request #3817 from ChrisLundquist/dynamic-source-ami
Dynamic source ami
2016-10-25 21:24:41 +02:00
James Nugent 395d88941c amazon: Allow SSH Agent auth for existing key pair
This commit allows SSH Agent authentication to be used with an existing
key pair defined in AWS.
2016-10-23 22:26:14 -05:00
James Nugent 7425fef2c7 builder/amazon: Allow use of local SSH Agent
This commit adds an option to use the local SSH Agent to authenticate
connections to source instances started by the the EBS and Instance
Store builders.

This is of use when the source AMI _already_ has configuration for
authorized SSH keys - for example if one uses an SSH certificate
authority.

A further extension (not implemented in this commit) is to allow SSH
agent use with a pre-defined key pair, in order to allow keys with
passphrases to be used without giving the passphrase to Packer.
2016-10-23 21:43:47 -05:00
Chris Lundquist e15c22797b Update amazon-instance.html.md 2016-10-14 11:53:40 -07:00
Rickard von Essen a04988a597 Updated docs to reflect support for ssh_password 2016-10-03 10:03:45 +02:00
Rickard von Essen a38e16bdd8 Delete ssh_username from the builder/amazon docs 2016-10-03 09:54:08 +02:00
Chris Lundquist 0e2637696b [dynamic-source-ami] minor doc improvements 2016-10-01 22:27:48 +00:00
Rickard von Essen 8193075c7c
builder/amazon: Added and corrected some default values in the docs. 2016-09-16 13:57:41 +02:00
Patrick Robinson 9af244afc4 Remove documentation about instance shutdown from instance builder 2016-06-27 10:29:59 +10:00
Patrick Robinson 3cf2d1e356 Add documentation for shutdown_behaviour option 2016-06-14 14:29:10 -07:00
owjjh d088b01cc8 Updating documentation to include details for the skip_region_validation configuration option 2016-06-06 14:45:22 -04:00
Chris Bednarski 97772d0dee Added warning not to use instance builder with windows 2016-05-24 15:19:06 -07:00
Chris Bednarski 1256babce3 Change .markdown to .md because it's shorter 2016-03-11 17:06:36 -08:00