Thenewtonlab

One cloud consultants building journey

Thenewtonlab

One cloud consultants building journey

terraform

An easier method to deal with AWS Security Groups via Terraform

As I continue my Terraform journey, I am always trying to find better ways to deal with the complexities of the code and the resulting resources built from the code. Security Groups are no execption. I did some web searching and found some code to parse a CSV and create a security group rule set. […]

Configmap and the AWS EKS Terraform Module

I’m currently on a cool project where we are automating the deployment of EKS clusters with Terraform. The TFE server is configured with an IAM user, that TF user will automatically be added to the aws-auth section of the configmap. We have EKS module code to add our SSO group’s rolearn to the configmap. The […]

My takeways from Terraform code and Gateway Load Balancer

My first bit of code for my new employer was help to setup a “security VPC” that hosts a pair of Palo-Alto firewalls to inspect traffic from other AWS accounts (AKA “hub and spoke”). This work was based (loosely) on repos found here and here…these repos build a similar environment but within a single AWS […]

How I removed credentials from my terraform code.

I had been using credential files in my terraform projects. Recently I switch to use AWS SSO and providing the profile name in the code. At runtime (plan, apply, etc.) terraform will use the token from the given profile. If AWS returns expired, the command will stop with authentication errors. Simply authenticate by cli via […]

Scroll to top