From 3cf1090c7709a5cb2933ef083ba431f0ffca9ae7 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 30 May 2013 17:37:41 -0700 Subject: [PATCH] Clarify a comment which says we require KeyName - which is incorrect The Nova create API requires a name, image, and flavor. The key_name is not mandatory. Possibly in AWS InstanceType (flavor) is not mandatory but it is with Nova. blueprint native-nova-instance Change-Id: I6f5a77d7999ea4d8e91402ae215179b982a947f6 --- heat/engine/resources/instance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/heat/engine/resources/instance.py b/heat/engine/resources/instance.py index 5fbc8630..31ba372c 100644 --- a/heat/engine/resources/instance.py +++ b/heat/engine/resources/instance.py @@ -63,7 +63,8 @@ class Restarter(resource.Resource): class Instance(resource.Resource): - # AWS does not require KeyName and InstanceType but we seem to + # AWS does not require InstanceType but Heat does because the nova + # create api call requires a flavor tags_schema = {'Key': {'Type': 'String', 'Required': True}, 'Value': {'Type': 'String', -- 2.45.2