From 3cf2d1e3569a8b86dc7cd3a200c8acfb6545d953 Mon Sep 17 00:00:00 2001 From: Patrick Robinson Date: Fri, 20 May 2016 19:55:44 +1000 Subject: [PATCH] Add documentation for shutdown_behaviour option --- website/source/docs/builders/amazon-ebs.html.md | 4 ++++ website/source/docs/builders/amazon-instance.html.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/website/source/docs/builders/amazon-ebs.html.md b/website/source/docs/builders/amazon-ebs.html.md index d44033e4a..8ad3039b0 100644 --- a/website/source/docs/builders/amazon-ebs.html.md +++ b/website/source/docs/builders/amazon-ebs.html.md @@ -219,6 +219,10 @@ builder. - `windows_password_timeout` (string) - The timeout for waiting for a Windows password for Windows instances. Defaults to 20 minutes. Example value: "10m" +- `shutdown_behaviour` (string) - Automatically terminate instances on shutdown + incase packer exits ungracefully. Possible values are "stop" and "terminate", + default is stop. + ## Basic Example Here is a basic example. You will need to provide access keys, and may need to change the AMI IDs according to what images exist at the time the template is run: diff --git a/website/source/docs/builders/amazon-instance.html.md b/website/source/docs/builders/amazon-instance.html.md index 887f03b2b..8818f1cb9 100644 --- a/website/source/docs/builders/amazon-instance.html.md +++ b/website/source/docs/builders/amazon-instance.html.md @@ -244,6 +244,10 @@ builder. - `windows_password_timeout` (string) - The timeout for waiting for a Windows password for Windows instances. Defaults to 20 minutes. Example value: "10m" +- `shutdown_behaviour` (string) - Automatically terminate instances on shutdown + incase packer exits ungracefully. Possible values are "stop" and "terminate", + default is stop. + ## Basic Example Here is a basic example. It is completely valid except for the access keys: