diff --git a/aws/.gitignore b/aws/.gitignore index cf58feac0..ac7059e9b 100644 --- a/aws/.gitignore +++ b/aws/.gitignore @@ -1,6 +1,9 @@ # Created by https://www.gitignore.io/api/python +# Bundled Files +*.zip + ### Python ### # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/aws/rds_enhanced_monitoring.zip b/aws/rds_enhanced_monitoring.zip deleted file mode 100644 index edb47a860..000000000 Binary files a/aws/rds_enhanced_monitoring.zip and /dev/null differ diff --git a/aws/rds_enhanced_monitoring/README.md b/aws/rds_enhanced_monitoring/README.md index d05ea35da..8eadc3c60 100644 --- a/aws/rds_enhanced_monitoring/README.md +++ b/aws/rds_enhanced_monitoring/README.md @@ -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 diff --git a/aws/rds_enhanced_monitoring/rds-enhanced-sam-template.yaml b/aws/rds_enhanced_monitoring/rds-enhanced-sam-template.yaml index ce343f2bc..22443fbe1 100644 --- a/aws/rds_enhanced_monitoring/rds-enhanced-sam-template.yaml +++ b/aws/rds_enhanced_monitoring/rds-enhanced-sam-template.yaml @@ -20,7 +20,7 @@ Resources: KeyId: !Ref KMSKeyId Architectures: - arm64 - Runtime: python3.11 + Runtime: python3.12 Timeout: 10 KmsKeyArn: !Sub diff --git a/aws/vpc_flow_log_monitoring.zip b/aws/vpc_flow_log_monitoring.zip deleted file mode 100644 index 19c6e91f9..000000000 Binary files a/aws/vpc_flow_log_monitoring.zip and /dev/null differ diff --git a/aws/vpc_flow_log_monitoring/README.md b/aws/vpc_flow_log_monitoring/README.md index 7e3cf80a8..8140c0d26 100644 --- a/aws/vpc_flow_log_monitoring/README.md +++ b/aws/vpc_flow_log_monitoring/README.md @@ -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 diff --git a/aws/vpc_flow_log_monitoring/vpc-flow-log-sam-template.yaml b/aws/vpc_flow_log_monitoring/vpc-flow-log-sam-template.yaml index 5429391ca..fc9592dd8 100644 --- a/aws/vpc_flow_log_monitoring/vpc-flow-log-sam-template.yaml +++ b/aws/vpc_flow_log_monitoring/vpc-flow-log-sam-template.yaml @@ -18,7 +18,7 @@ Resources: Policies: KMSDecryptPolicy: KeyId: !Ref KMSKeyId - Runtime: python3.11 + Runtime: python3.12 Architectures: - arm64 Timeout: 10