Pulumi and LocalStack — beyond the basics
Blog post from Pulumi
Josh Graham, a seasoned SaaS architect from Atlassian, explored using Pulumi and LocalStack to create a serverless application, highlighting the benefits and challenges of using these tools for infrastructure-as-code. In his endeavor, Graham utilized AWS services like DynamoDB and Lambda, leveraging Pulumi's TypeScript-based infrastructure management to streamline the process. He emphasized separating infrastructure code from application code to enhance modularity and testing, and he addressed the complexities of handling provision-time and runtime values in Pulumi. Additionally, Graham shared insights into using LocalStack for local AWS service emulation, which aids in faster feedback and cost reduction, while also noting some technical hurdles encountered, such as ensuring AWS credentials are available in LocalStack's Docker containers. Through his project, Graham demonstrated the potential for organized, test-driven development in serverless architectures, providing a template for others to follow and highlighting the evolving capabilities of Pulumi when used with LocalStack.