23 Commits

Author SHA1 Message Date
Chris Bednarski
b7c73b89ac Propagate block device doc changes to AWS chroot and instance builder docs 2017-01-17 21:32:18 -08: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 bda89b0c42deb186f18a68931c001afbe406dffb, reversing
changes made to f9f9d8241967bfde493529ad0b9b42f3e422fd51.
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
Matthew Hooker
cd6b70a2b3 Update amazon-chroot.html.md 2016-11-28 12:41:22 -08: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
Arthur Burkart
3eaa8a2dc3 Updates root_volume_size documentation
It didn't indicate its unit of size (GB), the default value was not
indicated, the fact that it ignores the user-given size when it is
smaller than the source AMI's snapshot size, and the fact that the
value is required when `from_scratch` is `true` all needed to be added.
2016-10-27 00:20:45 -04: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
Rickard von Essen
ecdf59b7b9
Slightly reworded docs for chroot_mounts in amazon-chroot builder
Closes #3081
2016-10-15 14:42:36 +02:00
Chris Lundquist
77a7728fd5 Update amazon-chroot.html.md 2016-10-14 11:51:19 -07: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
Jeremy Asher
66e55553e8 cleanup and make format on amazon-chroot docs 2016-09-04 12:19:47 -07:00
Jeremy Asher
e1c69a2e9a amazon-chroot from_scratch option documentation 2016-09-03 12:32:43 -07:00
Jeremy Asher
9a7758a002 fix amazon-chroot docs use of backticks for true/false 2016-09-03 12:32:43 -07:00
Sijis Aviles
bd6c0dbde0 Remove Communicator section from amazon-chroot docs
Closes #3711
2016-07-12 13:26:44 -05: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
1256babce3 Change .markdown to .md because it's shorter 2016-03-11 17:06:36 -08:00