简体   繁体   English

我们可以通过ansible剧本创建vpc添加AZ,IG,ACL,SG吗?

[英]can we create a vpc add AZ, IG, ACL, SG through ansible playbook?

我正在尝试使用安全组创建一个vpc添加AZ到acl是否可以通过ansible?

The new version of ansible supports this. 新版本的ansible支持此功能。 But terraform would be a better approach for this if you have flexibility of choosing the tools. 但是,如果您可以灵活选择工具,那么使用terraform将是更好的方法。 In terraform the existing infrastructure status is stored and is restored in case anything is not working. 在terraform中,现有基础结构状态将被存储并恢复,以防万一。 If you want to use only ansible then there are in build modules written in ansible for that. 如果您只想使用ansible,则可以使用ansible编写构建模块。 You will get all such info on the ansible docs. 您将在ansible文档中获得所有此类信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM