A terraform file can get very large very quickly as you add more and more resource blocks. Custom modules are a great way of organizing your terraform code into logical pieces. You might have one module that handles the VPC set up, one that handles RDS, and another for EC2 […]
terraform
5 posts
In this article, we’ll look at how to use cloud-init with terraform to install and configure nginx on an EC2 instance.
In this post, we will look at how to set up an S3 bucket and an EC2 instance using terraform. The S3 bucket will be set up so it can only be accessed privately and the EC2 instance will get access to the S3 bucket using IAM. I’ll be using […]
In this post, we’ll go over the basic structure of a terraform module and how to use variables and outputs in the root module.