aws-testing-library
aws-cdk-rfcs
Our great sponsors
aws-testing-library | aws-cdk-rfcs | |
---|---|---|
3 | 15 | |
126 | 513 | |
- | 1.8% | |
8.7 | 8.7 | |
11 days ago | about 1 month ago | |
TypeScript | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aws-testing-library
-
Testing AWS Step Functions flows
First, I start the Step Function, and then I assert, using the aws-testing-library, whether the item was correctly saved into the Amazon DynamoDB.
-
Cloud Driven Development - Episode #001
aws-testing-library
-
Testing the Async Cloud with AWS CDK
When writing tests using something like aws-testing-library or sls-test-tools, we must have credentials to an AWS account that at least lets us send a few events and subscribe to or query the results in order to perform assertions. Depending on the stance of our organization about cloud access, this could be completely fine or it could be a never-gonna-happen dealbreaker. Often this kind of approach will be OK for a development environment, but it could be unlikely to fly in production.
aws-cdk-rfcs
-
What's Next for CDK? 👀
This was the most voted RFC.
-
Build AWS Serverless Scheduled Tasks with Amazon EventBridge and CDK
The scheduler is a refined and improved version of the older rules mechanism. So, why would you use the older rule mechanism for scheduled tasks? I don’t see any reason other than the better CDK constructs support (which is only temporary, see this PR).
-
Building a Robust Serverless Messaging Service with Amazon EventBridge Pipes and CDK
CDK released the L1 construct for Pipes in v2.55 back in December 2022. Unfortunately, the L2 construct is still in progress, so we will have to manually specify most of the CloudFormation template but bear with me, it won’t be too painful. The community is working on an L2 construct; you can find the issue on GitHub here.
-
Serverless Weather Reporting with AWS Step Functions and CDK
More info on L1 vs L2 constructs here. I plan to keep an eye on this open RFC.
- Various cdk assets and implications of deleting them
-
Create Serverless Data Pipeline Using AWS CDK (Python)
It is not very convenient to delete some resources manually and there are several discussions with AWS developers to fix it.
-
Testing the Async Cloud with AWS CDK
It's worth mentioning that AWS CDK already has an RFC for integration testing so we might end up with something even better. In the meantime, if you are serious about integration testing, time to give AWS CDK and Provider Framework a look!
-
Ping Me! (Intro: IaC and Prep Work)
One apparent limitation of the CDK is that, at least for the nonce, it can only be used with AWS (there are two notable projects in the work right now that will greatly expand CDK's reach: cdk8s and cdktf). With Terraform you can use choose from a plethora of providers. Hell, I was able to set up my home network running on Unifi Dream Machine using Terraform. How cool is that?!
-
We are the AWS CDK Team - Ask the Experts - Jan 27th @ 10AM PT / 1PM ET / 6PM GMT!
Using terraform this can be simple using terraform import. But in AWS CDK there's no easy way to import these resources to a managed state. There is an open issue here (https://github.com/aws/aws-cdk-rfcs/issues/52) and an article here (https://medium.com/@visya/how-to-import-existing-aws-resources-into-cdk-stack-f1cea491e9#:~:text=For%20this%20part%20you%20will,our%20case%20only%20the%20bucket) but I really don't if it's the "Offical Way ®"
We are! Contrary to the AWS SDKs, which are used in memory and bandwidth constrainted environments (like web browsers for example), the size of CDK modules is less of an issue because CDK is normally used during build.The main benefit is simpler dependency management and avoiding potential version mismatches when upgrading individual packages.You can read more in this RFC
What are some alternatives?
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
websocat - Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
sls-test-tools - Custom Jest Assertions for Serverless integration testing.
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
jsii - jsii allows code in any language to naturally interact with JavaScript classes. It is the technology that enables the AWS Cloud Development Kit to deliver polyglot libraries from a single codebase!
cdk-eventbridge-socket - CDK construct that creates a WebSocket endpoint for you for any EventBridge rule you are interested in. (Built for debugging + testing )
jest-codemods - Codemods for migrating to Jest https://github.com/facebook/jest 👾
aws-cdk - The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
qawolf - 🐺 Create browser tests 10x faster