Re:Terraform 0.15 General Availability
by weitzj on Thursday April 15, 2021 @02:44PM
(#26824568)
> Beg to differ, 100s of engineers sharing ansible galaxy roles with semantic versioning and whatnot in a very good way at my org
I understand we both have our experiences when using ansible compared to terraform. Good to know that this scales
Regarding your point:
> state: absent, you can use in about every module.
What I meant is that you probably would create 2 pull request. The first one to actually delete things for your infrastructure and then a second pull request to delete your ansible code.
I am still not sure how changing things work in this manner, where you destroy and recreate things in a single logical Pull request/commit for example. I guess tracking multiple pull requests in a single ticket might work.
> And now you need to know two tools too, since you will likely need Ansible anyways to configure and operator the hosts later.
I agree. Well, I would use ansible beforehand with Packer to build immutable images/AMIs which are launched by an auto scaling group and a final configuration via cloudinit. Therefore I would not have a chance to apply ansible during autoscaling.
Thanks for your input and valuable discussion. Stay safe
I understand we both have our experiences when using ansible compared to terraform. Good to know that this scales
Regarding your point:
> state: absent, you can use in about every module.
What I meant is that you probably would create 2 pull request. The first one to actually delete things for your infrastructure and then a second pull request to delete your ansible code. I am still not sure how changing things work in this manner, where you destroy and recreate things in a single logical Pull request/commit for example. I guess tracking multiple pull requests in a single ticket might work.
> And now you need to know two tools too, since you will likely need Ansible anyways to configure and operator the hosts later.
I agree. Well, I would use ansible beforehand with Packer to build immutable images/AMIs which are launched by an auto scaling group and a final configuration via cloudinit. Therefore I would not have a chance to apply ansible during autoscaling.
Thanks for your input and valuable discussion. Stay safe