Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions aws/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

# Created by https://www.gitignore.io/api/python

# Bundled Files
*.zip

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
Binary file removed aws/rds_enhanced_monitoring.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion aws/rds_enhanced_monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ d. **Not Recommended**: Plaintext

- Create a `lambda_execution` role and attach this policy.

- Create a lambda function: skip the blueprint, name it `functionname`, set the Runtime to `Python 3.11`, the Architecture to `arm64`, the handle to `lambda_function.lambda_handler`, and the role to `lambda_execution`.
- Create a lambda function: skip the blueprint, name it `functionname`, set the Runtime to `Python 3.12`, the Architecture to `arm64`, the handle to `lambda_function.lambda_handler`, and the role to `lambda_execution`.

- Copy the content of `functionname/lambda_function.py` in the code section

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Resources:
KeyId: !Ref KMSKeyId
Architectures:
- arm64
Runtime: python3.11
Runtime: python3.12
Timeout: 10
KmsKeyArn:
!Sub
Expand Down
Binary file removed aws/vpc_flow_log_monitoring.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion aws/vpc_flow_log_monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ version, account, eni, source, destination, srcport, destport="22", protocol="6"

- Create a `lambda_execution` role and attach this policy

- Create a lambda function: Skip the blueprint, name it `functionname`, set the Runtime to `Python 3.11`, the Architecture to `arm64`,, the handle to `lambda_function.lambda_handler`, and the role to `lambda_execution`.
- Create a lambda function: Skip the blueprint, name it `functionname`, set the Runtime to `Python 3.12`, the Architecture to `arm64`,, the handle to `lambda_function.lambda_handler`, and the role to `lambda_execution`.

- Copy the content of `functionname/lambda_function.py` in the code section, make sure to update the `KMS_ENCRYPTED_KEYS` environment variable with the encrypted key generated in step 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Resources:
Policies:
KMSDecryptPolicy:
KeyId: !Ref KMSKeyId
Runtime: python3.11
Runtime: python3.12
Architectures:
- arm64
Timeout: 10
Expand Down