尝试在亚马逊中部署实例时遇到错误。我使用的是Cloudify 3.2.1。
我的蓝图:
...
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>
如何解决?