From c3e79c62b9a460c0af0dcc2d9ea7ddadfe76c7c5 Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Mon, 15 Jun 2015 10:01:32 -0500 Subject: [PATCH] document force_deregister --- website/source/docs/builders/amazon-chroot.html.markdown | 3 +++ website/source/docs/builders/amazon-ebs.html.markdown | 3 +++ website/source/docs/builders/amazon-instance.html.markdown | 3 +++ 3 files changed, 9 insertions(+) diff --git a/website/source/docs/builders/amazon-chroot.html.markdown b/website/source/docs/builders/amazon-chroot.html.markdown index e4e8cefa4..637153dab 100644 --- a/website/source/docs/builders/amazon-chroot.html.markdown +++ b/website/source/docs/builders/amazon-chroot.html.markdown @@ -124,6 +124,9 @@ each category, the available configuration keys are alphabetized. * `enhanced_networking` (boolean) - Enable enhanced networking (SriovNetSupport) on HVM-compatible AMIs. If true, add `ec2:ModifyInstanceAttribute` to your AWS IAM policy. +* `force_deregister` (boolean) – Force Packer to first deregister an existing +AMI if one with the same name already exists. Default `false`. + * `mount_path` (string) - The path where the volume will be mounted. This is where the chroot environment will be. This defaults to `packer-amazon-chroot-volumes/{{.Device}}`. This is a configuration diff --git a/website/source/docs/builders/amazon-ebs.html.markdown b/website/source/docs/builders/amazon-ebs.html.markdown index 0ff9522df..55747aa3c 100644 --- a/website/source/docs/builders/amazon-ebs.html.markdown +++ b/website/source/docs/builders/amazon-ebs.html.markdown @@ -96,6 +96,9 @@ each category, the available configuration keys are alphabetized. * `enhanced_networking` (boolean) - Enable enhanced networking (SriovNetSupport) on HVM-compatible AMIs. If true, add `ec2:ModifyInstanceAttribute` to your AWS IAM policy. +* `force_deregister` (boolean) – Force Packer to first deregister an existing +AMI if one with the same name already exists. Default `false`. + * `iam_instance_profile` (string) - The name of an [IAM instance profile](http://docs.aws.amazon.com/IAM/latest/UserGuide/instance-profiles.html) to launch the EC2 instance with. diff --git a/website/source/docs/builders/amazon-instance.html.markdown b/website/source/docs/builders/amazon-instance.html.markdown index ae5fbff27..73b0caa5d 100644 --- a/website/source/docs/builders/amazon-instance.html.markdown +++ b/website/source/docs/builders/amazon-instance.html.markdown @@ -136,6 +136,9 @@ each category, the available configuration keys are alphabetized. * `enhanced_networking` (boolean) - Enable enhanced networking (SriovNetSupport) on HVM-compatible AMIs. If true, add `ec2:ModifyInstanceAttribute` to your AWS IAM policy. +* `force_deregister` (boolean) – Force Packer to first deregister an existing +AMI if one with the same name already exists. Default `false`. + * `iam_instance_profile` (string) - The name of an [IAM instance profile](http://docs.aws.amazon.com/IAM/latest/UserGuide/instance-profiles.html) to launch the EC2 instance with.