【发布时间】:2017-07-27 02:48:33
【问题描述】:
我正在尝试使用 Ansible 创建启动配置。我正在使用http://docs.ansible.com/ec2_lc_module.html 中详细介绍的 ec2_lc 模块。
我正在创建启动配置并指定一些不属于我的默认 VPC 的安全组。但是,它不会让我这样做。它似乎默认为默认 VPC,我在文档中没有看到更改此设置的设置。有什么我忽略的吗?我的剧本的输出如下:
TASK: [aws-lc | building new aws launch configuration] ************************
failed: [localhost] => {"failed": true}
msg: BotoServerError: 400 Bad Request
<ErrorResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/">
<Error>
<Type>Sender</Type>
<Code>ValidationError</Code>
<Message>The security group 'xyz-general-sg' does not exist in default VPC 'vpc-3Cef6a45'</Message>
</Error>
<RequestId>54121d19-1f30-11e5-1121-51263ee1684e</RequestId>
</ErrorResponse>
【问题讨论】:
标签: amazon-web-services ansible ansible-playbook