Terraform Import Made Easy: Conquering Infrastructure Management Complexities

I will admit that I’m quite a bit of a rookie when it comes to Terraform and the whole infrastructure as code scene but I’m learning. One of the most powerful tools I’ve found when trying to convert your current infrastructure into Terraform is the terraform import command. After too many times of doing an import and manually copying information from my state file, I felt there had to be a way to simplify Terraform import....

October 22, 2023 · 7 min · Scott

How to Use Terraform to Deploy a Python Script to AWS Lambda

I recently decided to deploy a Python script to AWS Lambda with Terraform. I had to create this Python code so that I could expose a simple API to the Internet. So that I didn’t have to maintain infrastructure, I figured the best approach was to deploy it as a Lambda function and API Gateway. Deploying as a Lambda and API Gateway sounded like a great way to go. While not maintaining infrastructure, I figured it was also a good idea to make the deployment easy....

April 20, 2023 · 8 min · Scott

The Rise of AI-Generated Blog Posts

In Tinkering With Artificial Intelligence Blog Writing, I talked about tinkering with some various AI engines. Google has just come out with their AI Chatbot, Bard. As you can see from the blog post, Bard has been out for awhile but was only open to internal use. Google recently started providing invites to the public to use Bard. Yesterday, I received my invite to use Bard! My very first thought was to try and use Bard to generate a blog post....

March 22, 2023 · 4 min · Scott

Testing Python AWS calls with Moto

In my previous Writing Tests For Your Python Project, I started writing tests for my Python code but then ran out of options because I had completed all tests that didn’t involve calls to the AWS API. Now we’ll begin testing Python AWS calls with Moto. You can view some additional details about Moto in their documentation. You will want to also review the list of Implemented Services in the Moto documentation to make sure you the API endpoints and methods are supported....

January 27, 2023 · 9 min · Scott