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 […]
Don’t add account id to your Terraform code
I discovered a handy trick to get the account id of the given profile/account. The key is to use a new data source object and pass it the provider. See the code below. So no need to ever put account ids in terraform code again? I’m good with that. Happy building, D
Joining an EC2 instance to a self-managed AD to launch with user-data
My latest project is a bit of a return to my old life with Microsoft. The majority of my AWS work has been with Linux workloads, so it’s been nice to brush off my old skills and return to PowerShell 😃. After manually joining a couple of instances to a self-managed AD (not an AWS […]
The AWS DataSync performance trick that I didn’t know
My current project is a datacenter migration where we’re moving Windows workloads up to AWS. One item we had been struggling with was with two large file share servers. The shares are multiple terabytes in size with lots of small files/docs and subfolders. The challenge we had been dealing with the performance of DataSync with […]
My journey to AWS certification
For most of my IT career I’ve been in the Microsoft space. And much of my first “cloud” work was with Azure…but I was also doing some AWS. Then my mentor told me I had to make a choice. I like to say that I was given the choice between the orange pill or the […]
Hello it’s me…
I’ve thought about the blog for a long long time. Thanks Todd Rundgren 😉 A lot has happen sense my last post, lots of different projects, I’ve moved to more AWS work and I’ve changed jobs….not to mention the pandemic, Atlanta Braves and UGA championships. All that being said, there are quite a few things […]