Commit Graph

39 Commits

Author SHA1 Message Date
Rickard von Essen d3c2239b9e
builder/amazon: Change shutdown_behaviour to shutdown_behavior 2016-12-14 21:59:16 +01:00
Kerim Satirli 74ed95511c highlights possible values instead of quoting them
Hello!

I updated a few values in this page to be highlighted instead of "quoted". I think this is in line with other values already existing on this page and should make the whole more consistent.

Happy to discuss if this needs changes!

This is a clean(er) version of PR 4255
2016-12-06 21:54:16 +01:00
Rickard von Essen 45bf1457db Added note about kms_key_id 2016-12-06 10:35:58 +01:00
Rickard von Essen c3a352955e amazon: Added snapshot_users and snapshot_groups 2016-12-04 16:03:01 +01:00
poida 8b13b75097 Updated documentation and error messages
The docs for kms_key_id needed to be next to encrypt_boot.

Shortened some of the kms_key_id error messages.
2016-12-03 07:49:54 +11:00
poida 3eed6fd508 Added KMS CMK support to EBS builder
Added the 'kms_key_id' parameter. This supports supplying a customer master key (CMK) when encrypting the EBS volume.

The parameter is optional and only takes effect when 'encrypted' is true. When 'encrypted' is true but 'kms_key_id' is missing the 'aws/ebs' key will be used.
2016-12-03 07:49:34 +11: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
Rickard von Essen a09f20f996 Merge pull request #4015 from artburkart:closes_3908
Closes #3908: Adds snapshot tag overrides
2016-11-26 17:54:00 +01: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
Michael Friis 45188f2f2c fix markdown 2016-11-10 18:40:50 -08: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
Kerim Satirli 723a4a1a53 fixes identifier for launch_device_mappings
Hi!

I believe the **Note** to reference an incorrect variable: `launch_device_mappings `; this should be `launch_block_device_mappings` as far as I can tell from the [code](https://github.com/mitchellh/packer/search?utf8=%E2%9C%93&q=launch_block_device_mappings).
2016-10-26 16:38:26 +02: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 7edc3f9857 Update amazon-ebs.html.md 2016-10-14 11:53:12 -07:00
Rickard von Essen 0be3034e82 Merge pull request #3953 from rickard-von-essen/amz-ssh
builder/amazon: Allow using ssh_private_key_file and ssh_password
2016-10-03 10:22:15 +02: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
Rickard von Essen cffc8e892c Merge pull request #3382 from ahamidi/encrypted-boot-volume
Create AMI with encrypted boot volume
2016-10-02 01:02:43 +02:00
Chris Lundquist 0e2637696b [dynamic-source-ami] minor doc improvements 2016-10-01 22:27:48 +00:00
Chris Lundquist defdd1ecf3 Merge remote-tracking branch 'origin/master' into dynamic-source-ami 2016-09-02 01:43:03 +00:00
Royce Remer faa971291d document optional amazon-ebs virt type behavior 2016-08-24 00:02:17 +02:00
Chris Lundquist 3d6cf56715 [dynamic-source-ami] add some docs 2016-08-20 23:54:02 +00:00
Ali Hamidi 6b7ed3aaab include default value in docs 2016-07-29 15:01:24 -07:00
Ali Hamidi 53b3867c50 allow packer to create an encrypted copy of the AMI 2016-07-29 15:01:24 -07:00
Tom de Vries 510e4c991e Add comment on required subnet_id when using vpc_id 2016-06-24 10:35:22 +02: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 42a9d9d5a1 Merge pull request #3352 from chalfant/disable-stop-instance
Disable stop instance
2016-05-24 15:40:54 -07:00
Thomas Vendetta e362cd6b8b Use new Ubuntu AMI thats t2.micro & us-east-1 eligible
Uses this free tier eligible ebs/hvm AMI:

  Ubuntu Server 14.04 LTS (HVM), SSD Volume Type - ami-fce3c696
2016-03-16 22:28:10 -04:00
Chris Chalfant 601b833aaa style and documentation changes per PR review comments 2016-03-15 08:01:20 -04:00
Chris Bednarski 1256babce3 Change .markdown to .md because it's shorter 2016-03-11 17:06:36 -08:00