From: Steven Dake Date: Fri, 31 May 2013 00:37:41 +0000 (-0700) Subject: Clarify a comment which says we require KeyName - which is incorrect X-Git-Tag: 2014.1~530^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=3cf1090c7709a5cb2933ef083ba431f0ffca9ae7;p=openstack-build%2Fheat-build.git 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 --- 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',