Terraform

The post presents a possibility to centralise Lambda@Edge logs into one place. As an architect and troubleshooter of a serverless application utilising Lambda@Edge, I find it difficult to access logs produced by Lambda@Edge when users experience issues. This is due to the fact that Lambda@Edge utilises CloudFront edge locations to distribute your Lambda functions across the whole AWS world, and when a user accesses your...

Read More

[qodef_blockquote text="Have you ever experienced the need to resize an EBS volume and did all or half of the steps manually? What if I told you, you don't have to do anything manually now. Terraform and Ansible can do it all for you!" title_tag="h3" width="90"]   Seriously, we all have experienced a flashing red light on our monitoring solutions notifying us that a partition will soon be...

Read More

  During my experience with both Terrform and Ansible it became apparent to me that all available Ansible modules for Terraform do not include functionality to combine two the two automation tools together. We produce Terraform infrastructure on AWS. We try to automate absolutely everything from EC2 instances to DNS records and security groups using Terraform and then provision the servers using Ansible with required software...

Read More

  This post focuses on describing my approach to create a backend for Terraform backend. The problem is that Terraform is unable to utilise backend before it's created. Let's explain the problem in practice. I have created a small Terraform project below.   provider "aws" { shared_credentials_file = "../credentials" region ...

Read More