2016-02-13 60 views
0

在尝试在Amazon中部署实例时出现错误。我正在使用Cloudify 3.2.1。错误VPCResource未指定

我的蓝图:

... 
node_templates: 

    host: 
    type: cloudify.aws.nodes.Instance 
    properties: 
     image_id: { get_input: image } 
     instance_type: { get_input: size_wordpress } 
... 

我输入:

... 
size_wordpress: t2.small 
... 

错误:

<Code>VPCResourceNotSpecified</Code> 
<Message>The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request.</Message> 

如何解决?

回答