Skip to content

Commit cfeb833

Browse files
Final changes
1 parent f660683 commit cfeb833

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ dev:
88
pip install --upgrade pip pre-commit poetry
99
poetry config --local virtualenvs.in-project true
1010
@$(MAKE) dev-version-plugin
11-
poetry install --extras "all datamasking-aws-sdk redis"
11+
poetry install --extras "all redis"
1212
pre-commit install
1313

1414
dev-gitpod:
1515
pip install --upgrade pip poetry
1616
@$(MAKE) dev-version-plugin
17-
poetry install --extras "all datamasking-aws-sdk redis"
17+
poetry install --extras "all redis"
1818
pre-commit install
1919

2020
format:

docs/utilities/data_masking.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ graph LR
7575

7676
!!! note "This is not necessary if you're installing Powertools for AWS Lambda (Python) via [Lambda Layer/SAR](../index.md#lambda-layer){target="_blank"}"
7777

78-
Add `aws-lambda-powertools[datamasking-aws-sdk]` as a dependency in your preferred tool: _e.g._, _requirements.txt_, _pyproject.toml_. This will install the [AWS Encryption SDK](https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/introduction.html){target="_blank"}.
78+
Add `aws-lambda-powertools[datamasking]` as a dependency in your preferred tool: _e.g._, _requirements.txt_, _pyproject.toml_. This will install the [AWS Encryption SDK](https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/introduction.html){target="_blank"}.
7979

8080
<!-- markdownlint-disable MD013 -->
8181
AWS Encryption SDK contains non-Python dependencies. This means you should use [AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-build.html#using-sam-cli-build-options-container){target="_blank"} or [official build container images](https://gallery.ecr.aws/search?searchTerm=sam%2Fbuild-python&popularRegistries=amazon){target="_blank"} when building your application for AWS Lambda. Local development should work as expected.

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ redis = {version = ">=4.4,<6.0", optional = true}
4848
typing-extensions = "^4.6.2"
4949
datadog-lambda = { version = ">=4.77,<6.0", optional = true }
5050
aws-encryption-sdk = { version = "^3.1.1", optional = true }
51-
jsonpath-ng = "^1.6.0"
51+
jsonpath-ng = { version = "^1.6.0", optional = true }
5252

5353
[tool.poetry.dev-dependencies]
5454
coverage = {extras = ["toml"], version = "^7.2"}
@@ -98,11 +98,11 @@ parser = ["pydantic"]
9898
validation = ["fastjsonschema"]
9999
tracer = ["aws-xray-sdk"]
100100
redis = ["redis"]
101-
all = ["pydantic", "aws-xray-sdk", "fastjsonschema"]
101+
all = ["pydantic", "aws-xray-sdk", "fastjsonschema", "aws-encryption-sdk", "jsonpath-ng"]
102102
# allow customers to run code locally without emulators (SAM CLI, etc.)
103103
aws-sdk = ["boto3"]
104104
datadog = ["datadog-lambda"]
105-
datamasking-aws-sdk = ["aws-encryption-sdk"]
105+
datamasking = ["aws-encryption-sdk", "jsonpath-ng"]
106106

107107
[tool.poetry.group.dev.dependencies]
108108
cfn-lint = "0.83.8"

0 commit comments

Comments
 (0)