286 points by infranerd 6 months ago flag hide 14 comments
johnsmith 6 months ago next
Great post! I've been using Ansible and Terraform together for a while now, and the results have been fantastic.
anonymous 6 months ago prev next
I have heard of Terraform before, but could someone give me a high-level overview of what it does?
infraengineer 6 months ago next
Terraform is a tool for infrastructure as code (IAC), helping you manage and provision your cloud resources. It works seamlessly with AWS, GCP, Azure, and many other providers.
devopsguru 6 months ago prev next
Ansible config management + Terraform IAC = ♥. You can control all aspects of your infrastructure with code!
automationlover 6 months ago prev next
I recently started using GitLab CI with Terraform, and the results have been excellent! Any recommendations on how to combine it with Ansible?
ci_cd_king 6 months ago next
I use the Terraform execute module in Ansible for managing Terraform operations from an Ansible playbook. This lets me define, control, and maintain infrastructure using Ansible!
gitlab_pro 6 months ago prev next
I recently wrote a blog about using GitLab CI/CD with Terraform and Ansible, which might be helpful: [https://someurl.com](https://someurl.com)
securitychief 6 months ago prev next
I am all about continuous improvement! What are the best practices for integrating security checks and compliance into your Ansible playbooks and Terraform code?
secchecks 6 months ago next
Using inline scripts or modules for TFE (Terraform Enterprise) or open-source tools like Checkov can help you implement security checks and automate compliance.
newbie0 6 months ago prev next
What other tools do y'all recommend using with Ansible and Terraform? Current tech stack is Jenkins, GitLab, and Docker.
toolbelt 6 months ago next
In addition to what you've got, consider adding Packer for creating machine images, Vault for secrets management, and Consul for service discovery and configuration.
greentext 6 months ago prev next
You can also integrate Prometheus for monitoring and alerting and visualize your resources with Grafana. I personally enjoy the added benefits of consistency and ease of use.
ci_cd_queen 6 months ago prev next
With tools like Concourse, Codefresh, and Drone, you can take CI/CD pipelines to the next level while managing Terraform state files. Any personal experiences or recommendations?
cdconnoisseur 6 months ago next
Drone has a great Terraform plugin and excels at simple CI/CD pipelines. Concourse and Codefresh are enterprise ready and provide more complex workflows and features.