Skip to content

Commit ab612ed

Browse files
heitorlessarubenfonseca
authored andcommitted
docs(maintainers): fix typos
1 parent 184d743 commit ab612ed

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

MAINTAINERS.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ In the rare cases where both parties don't have the bandwidth or expertise to co
297297

298298
### Structure
299299

300-
Our E2E framework relies on pytest fixtures to coordinate infrastructure and test parallelization - see [Test Parallelization](#test-runner-parallelization), and [CDK CLI Parallelization](#cdk-cli-parallelization).
300+
Our E2E framework relies on pytest fixtures to coordinate infrastructure and test parallelization - see [Test Parallelization](#test-runner-parallelization) and [CDK CLI Parallelization](#cdk-cli-parallelization).
301301

302302
**tests/e2e structure**
303303

@@ -335,17 +335,17 @@ Our E2E framework relies on pytest fixtures to coordinate infrastructure and tes
335335
├── infrastructure.py # base infrastructure like deploy logic, etc.
336336
```
337337

338-
You probably notice we have multiple `conftest.py`, `infrastructure.py`, and `handlers` directory.
338+
You probably noticed we have multiple `conftest.py`, `infrastructure.py`, and `handlers` directory.
339339

340340
- **`infrastructure.py`**. Uses CDK to define the infrastructure a given feature needs.
341-
- **`conftest.py`**. Handles deployment and deletion a given feature Infrastructure. Hierarchy matters
341+
- **`conftest.py`**. Handles deployment and deletion a given feature Infrastructure. Hierarchy matters:
342342
- Top-level `e2e/conftest` deploys stacks only once and blocks I/O across all CPUs.
343343
- Feature-level `e2e/<feature>/conftest` deploys stacks in parallel and make them independent of each other.
344-
- **`handlers/`**. Lambda function handlers that will be automatically deployed and exported as PascalCase for later use.
344+
- **`handlers/`**. Lambda function handlers that will be automatically deployed and exported in PascalCase (e.g., `BasicHandler`) for later use.
345345

346346
### Mechanics
347347

348-
Under `BaseInfrastructure`, we hide the complexity of handling CDK parallel deployments, exposing CloudFormation Outputs, building Lambda Layer with the latest available code, and creating Lambda functions found in `handlers`.
348+
Under [`BaseInfrastructure`](https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/tests/e2e/utils/infrastructure.py), we hide the complexity of handling CDK parallel deployments, exposing CloudFormation Outputs, building Lambda Layer with the latest available code, and creating Lambda functions found in `handlers`.
349349

350350
This allows us to benefit from test and deployment parallelization, use IDE step-through debugging for a single test, run a subset of tests and only deploy their related infrastructure, without any custom configuration.
351351

@@ -358,14 +358,14 @@ classDiagram
358358
+deploy() Dict
359359
+delete()
360360
+create_resources()
361-
+create_lambda_functions(function_props: Dict)
361+
+create_lambda_functions() Dict~Functions~
362362
}
363363
364364
class BaseInfrastructure {
365365
+deploy() Dict
366366
+delete()
367-
+create_lambda_functions(function_props: Dict) Dict~Functions~
368-
+add_cfn_output(name: str, value: str, arn: Optional[str])
367+
+create_lambda_functions() Dict~Functions~
368+
+add_cfn_output()
369369
}
370370
371371
class TracerStack {

0 commit comments

Comments
 (0)