From 764c3ae5a490541b418ee7f38aedb31e801de024 Mon Sep 17 00:00:00 2001 From: Tom Paine Date: Mon, 18 May 2015 14:21:49 +0100 Subject: [PATCH] Update ec2.py Make assign_public_ip choices explicit. People incorrectly try and assign a specific IP thinking it accepts an IP address as a value. --- cloud/amazon/ec2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cloud/amazon/ec2.py b/cloud/amazon/ec2.py index 015a6c28f13..95dab865026 100755 --- a/cloud/amazon/ec2.py +++ b/cloud/amazon/ec2.py @@ -158,6 +158,7 @@ options: - when provisioning within vpc, assign a public IP address. Boto library must be 2.13.0+ required: false default: null + choices: [ "yes", "no" ] aliases: [] private_ip: version_added: "1.2"