diff options
-rw-r--r-- | nova-compute-instance.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml index a3fef086..3a29f011 100644 --- a/nova-compute-instance.yaml +++ b/nova-compute-instance.yaml @@ -5,7 +5,7 @@ Parameters: Description: Name of an existing EC2 KeyPair to enable SSH access to the instances Type: String Default: default - InstanceType: + Flavor: Description: Use this flavor Type: String Default: baremetal @@ -63,12 +63,12 @@ Resources: UserName: Ref: ComputeUser NovaCompute0: - Type: AWS::EC2::Instance + Type: OS::Nova::Server Properties: - ImageId: + image: {Ref: NovaImage} - InstanceType: {Ref: InstanceType} - KeyName: {Ref: KeyName} + flavor: {Ref: Flavor} + key_name: {Ref: KeyName} Metadata: os-collect-config: cfn: |