The hottest Substack posts of Making It Up

And their main takeaways
1 HN point 11 Apr 24
  1. CDK offers the flexibility to reuse existing resources or create new ones in your architecture for different environments.
  2. By incorporating conditionals and the ability to import resources via ARN, CDK allows code deployment into both fresh and existing environments from the same codebase.
  3. Using CDK, it's feasible to create custom constructs with logic for reusing or building infrastructure, making it simpler to manage and deploy resources across different states of environments.
0 implied HN points 28 Mar 24
  1. When deploying resources in the AWS Cloud, you gain access to a global computing network that can be leveraged through CDK.
  2. Root Stack with Substacks helps create a clear hierarchy, centralization for building dependencies, and a non-regional stack for global resources.
  3. Deploying stacks directly allows for a more traditional IaC experience with the benefit of simpler deployment, but using CDK still provides access to higher level constructs and component libraries.
0 implied HN points 18 Mar 24
  1. Use the assertions module provided by CDK for fine-grained and snapshot tests. It's valuable but can be easily missed.
  2. Make Nested Stacks easily accessible by adding them as properties of the Stack class. This simplifies the testing process.
  3. When facing test failures, consider writing your CloudFormation template to a file. This can provide clarity and help resolve common testing issues.
0 implied HN points 08 Mar 24
  1. Consider organizing your CDK lib folder by function instead of service for more efficient development.
  2. Structuring your CDK resources based on function can lead to easier maintenance and deployment of related functionalities.
  3. Explore different organizational patterns in CDK to find what works best for your project and share useful patterns with the community.