-
terraform-workspaces-aws-multi-account
Building and managing AWs multi account architecture with Terraform workspaces.
-
AppSignal
AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
-
terraform-best-practices
Terraform Best Practices free ebook translated into 🇬🇧🇦🇪🇧🇦🇧🇷🇫🇷🇬🇪🇩🇪🇬🇷🇮🇱🇮🇳🇮🇩🇮🇹🇯🇵🇰🇷🇵🇱🇷🇴🇨🇳🇪🇸🇹🇷🇺🇦🇵🇰 (by antonbabenko)
I generally consider the AWS CLI configuration to be something that's unique to a developer's workstation, and shouldn't be referenced in terraform code (in the form of tying the workspace name to your AWS profile name).
This would only work if all developers on a team have synchronised the same AWS CLI config (which to me is like asking people to synchronise dotfiles, not something I'd be willing to do).
My go-to architecture for multi-environment tends to be this, as it lends itself relatively well to Git Flow (or GitHub Flow): https://github.com/antonbabenko/terraform-best-practices/tre...
-
configure-aws-credentials
Configure AWS credential environment variables for use in other GitHub Actions.
The AWS SDK supports supplying credentials based on environment variables. When on my workstation I set AWS_PROFILE to select what profile I'm using, prior to running Terraform. This is then portable to CI where we may be using something like https://github.com/aws-actions/configure-aws-credentials to assume a role rather than using a pre-configured CLI profile.
-
terraformer
Discontinued CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code
The Terraformer tool was the biggest blessing when I had to reverse engineer our AWS stack into .tf modules.
Shoutout to the Waze team for creating it!
https://github.com/GoogleCloudPlatform/terraformer
We built out a large serverless stack on AWS, and we got a request from higher ups to convert it all into Terraform modules for portability and transparency purposes.
The Terraformer tool pulled in the entire stack and spit out the whole thing into tf files in less than 30 seconds.
Everyone was super impressed on the team lol.