From a02efd618a0a8fe894ab77ea0c6e0307b302cf24 Mon Sep 17 00:00:00 2001 From: Stephe <72951916+StephaniePar@users.noreply.github.com> Date: Wed, 1 Dec 2021 21:36:34 -0500 Subject: [PATCH 1/2] Update 03-efsfilesystem.yaml AWS no longer supports python2.7 --- templates/03-efsfilesystem.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/03-efsfilesystem.yaml b/templates/03-efsfilesystem.yaml index 0ab3981..3c365b1 100644 --- a/templates/03-efsfilesystem.yaml +++ b/templates/03-efsfilesystem.yaml @@ -528,7 +528,7 @@ Resources: FunctionName: !Join [ '', [ 'efs-', !Ref ElasticFileSystem, '-size-monitor' ] ] Handler: index.handler Role: !GetAtt LambdaRole.Arn - Runtime: python2.7 + Runtime: python3.9 Timeout: 60 LambdaRole: Type: AWS::IAM::Role From c275835ac879c799adaa3da6639ab65b67307631 Mon Sep 17 00:00:00 2001 From: Stephe <72951916+StephaniePar@users.noreply.github.com> Date: Wed, 1 Dec 2021 21:39:43 -0500 Subject: [PATCH 2/2] Update 03-rds.yaml I get this error when I try to run the template: The Parameter Group default.aurora-postgresql11 with DBParameterGroupFamily aurora-postgresql11 cannot be used for this instance. Please use a Parameter Group with DBParameterGroupFamily aurora-postgresql12 (Service: AmazonRDS; Status Code: 400; Error Code: InvalidParameterCombination; Request ID: d4985bb8-ed41-4b47-99ca-47000cd846f6; Proxy: null) It working once ytou change the DBClusterParameterGroupName to default.aurora-postgresql12 --- templates/03-rds.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/03-rds.yaml b/templates/03-rds.yaml index 547e89e..6f1d5b4 100644 --- a/templates/03-rds.yaml +++ b/templates/03-rds.yaml @@ -151,7 +151,7 @@ Resources: DatabaseName: !Ref DatabaseName DBSubnetGroupName: !Ref DataSubnetGroup Engine: aurora-postgresql - DBClusterParameterGroupName: default.aurora-postgresql11 + DBClusterParameterGroupName: default.aurora-postgresql12 KmsKeyId: !If [ UseAWS-ManagedCMK, !Ref 'AWS::NoValue', !Ref DatabaseCmk ] MasterUsername: !Join ['', ['{{resolve:secretsmanager:', !Ref MyRDSInstanceSecretArn, ':SecretString:username}}' ]]