From 815115f79249515cb28e98e0c0854e9d388562b4 Mon Sep 17 00:00:00 2001 From: joehack3r Date: Tue, 18 Mar 2014 15:49:27 -0500 Subject: [PATCH] Update example to include delete on termination --- library/cloud/ec2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/cloud/ec2 b/library/cloud/ec2 index fe215499221..6a352f3f4d0 100644 --- a/library/cloud/ec2 +++ b/library/cloud/ec2 @@ -286,7 +286,7 @@ EXAMPLES = ''' db: postgres monitoring: yes -# Single instance with additional IOPS volume from snapshot +# Single instance with additional IOPS volume from snapshot and volume delete on termination local_action: module: ec2 key_name: mykey @@ -301,6 +301,7 @@ local_action: device_type: io1 iops: 1000 volume_size: 100 + delete_on_termination: true monitoring: yes # Multiple groups example