ec2_vpc versus ec2_vpc_net et al

77 views
Skip to first unread message

Jeff Hardy

unread,
Feb 5, 2016, 12:27:03 PM2/5/16
to Ansible Project
I have been working up some playbooks and roles using the various vpc modules.  With ec2_vpc, it is possible to lay out vpc, subnets, and routes pretty much all-in-one, while doing the same with the newer (as of 2.0) ec2_vpc_net module requires chaining things such as vpc_id to the ec2_vpc_subnet, igw, and route modules.  I can see that separating the functionality allows for more flexibility.  Will the original ec2_vpc continue to be developed, or should all effort go into working with the latter modules?

Stephen Granger

unread,
Feb 5, 2016, 1:14:29 PM2/5/16
to ansible...@googlegroups.com
I think moving forward the ec2_vpc_net and other broken out modules are what will be the future of AWS resource provisioning. The older module coupled things too tightly together and didn't integrate as well, weren't as logical if those resources already existed or were already created via other means. 

I'm no authority on these modules though and would appreciate others comments.

On 5 February 2016 at 06:56, Jeff Hardy <fritz...@gmail.com> wrote:
I have been working up some playbooks and roles using the various vpc modules.  With ec2_vpc, it is possible to lay out vpc, subnets, and routes pretty much all-in-one, while doing the same with the newer (as of 2.0) ec2_vpc_net module requires chaining things such as vpc_id to the ec2_vpc_subnet, igw, and route modules.  I can see that separating the functionality allows for more flexibility.  Will the original ec2_vpc continue to be developed, or should all effort go into working with the latter modules?

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e788a579-8f83-4991-9916-ac8b102c9e15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Steve
Reply all
Reply to author
Forward
0 new messages