2016-02-13 55 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> 

如何解決?

回答