diff --git a/create-file-system/templates/efs-dashboard-with-size-monitor-and-burst-credit-balance-alarms.yml b/create-file-system/templates/efs-dashboard-with-size-monitor-and-burst-credit-balance-alarms.yml index e61dcd5..0fa4ed0 100644 --- a/create-file-system/templates/efs-dashboard-with-size-monitor-and-burst-credit-balance-alarms.yml +++ b/create-file-system/templates/efs-dashboard-with-size-monitor-and-burst-credit-balance-alarms.yml @@ -315,7 +315,7 @@ Resources: FunctionName: !Join [ '', [ 'efs-', !Ref ElasticFileSystem, '-size-monitor' ] ] Handler: index.handler Role: !GetAtt LambdaRoleRetain.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 EfsSizeMonitorFunctionDelete: Type: AWS::Lambda::Function @@ -376,7 +376,7 @@ Resources: FunctionName: !Join [ '', [ 'efs-', !Ref ElasticFileSystem, '-size-monitor' ] ] Handler: index.handler Role: !GetAtt LambdaRoleDelete.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 LambdaRoleRetain: Type: AWS::IAM::Role diff --git a/create-file-system/templates/efs-dashboard-with-size-monitor.yml b/create-file-system/templates/efs-dashboard-with-size-monitor.yml index 79eac95..61c5eb5 100644 --- a/create-file-system/templates/efs-dashboard-with-size-monitor.yml +++ b/create-file-system/templates/efs-dashboard-with-size-monitor.yml @@ -159,7 +159,7 @@ Resources: FunctionName: !Join [ '', [ 'efs-', !Ref ElasticFileSystem, '-size-monitor' ] ] Handler: index.handler Role: !GetAtt LambdaRoleRetain.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 EfsSizeMonitorFunctionDelete: Type: AWS::Lambda::Function @@ -220,7 +220,7 @@ Resources: FunctionName: !Join [ '', [ 'efs-', !Ref ElasticFileSystem, '-size-monitor' ] ] Handler: index.handler Role: !GetAtt LambdaRoleDelete.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 LambdaRoleRetain: Type: AWS::IAM::Role diff --git a/monitoring/templates/cw_dashboard_with_mm_for_efs.yaml b/monitoring/templates/cw_dashboard_with_mm_for_efs.yaml index 46785f7..f9a27bb 100644 --- a/monitoring/templates/cw_dashboard_with_mm_for_efs.yaml +++ b/monitoring/templates/cw_dashboard_with_mm_for_efs.yaml @@ -520,7 +520,7 @@ Resources: FunctionName: !Join [ '-', [ !Ref ElasticFileSystem, 'size-monitor', !Ref 'AWS::StackName' ] ] Handler: index.handler Role: !GetAtt LambdaRoleRetain.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 EfsSizeMonitorFunctionDelete: @@ -582,7 +582,7 @@ Resources: FunctionName: !Join [ '-', [ !Ref ElasticFileSystem, 'size-monitor', !Ref 'AWS::StackName' ] ] Handler: index.handler Role: !GetAtt LambdaRoleDelete.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 LambdaRoleRetain: diff --git a/monitoring/templates/efs-dashboard-with-size-monitor-and-burst-credit-balance-alarms.yml b/monitoring/templates/efs-dashboard-with-size-monitor-and-burst-credit-balance-alarms.yml index e61dcd5..0fa4ed0 100644 --- a/monitoring/templates/efs-dashboard-with-size-monitor-and-burst-credit-balance-alarms.yml +++ b/monitoring/templates/efs-dashboard-with-size-monitor-and-burst-credit-balance-alarms.yml @@ -315,7 +315,7 @@ Resources: FunctionName: !Join [ '', [ 'efs-', !Ref ElasticFileSystem, '-size-monitor' ] ] Handler: index.handler Role: !GetAtt LambdaRoleRetain.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 EfsSizeMonitorFunctionDelete: Type: AWS::Lambda::Function @@ -376,7 +376,7 @@ Resources: FunctionName: !Join [ '', [ 'efs-', !Ref ElasticFileSystem, '-size-monitor' ] ] Handler: index.handler Role: !GetAtt LambdaRoleDelete.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 LambdaRoleRetain: Type: AWS::IAM::Role diff --git a/monitoring/templates/efs-dashboard-with-size-monitor.yml b/monitoring/templates/efs-dashboard-with-size-monitor.yml index 79eac95..61c5eb5 100644 --- a/monitoring/templates/efs-dashboard-with-size-monitor.yml +++ b/monitoring/templates/efs-dashboard-with-size-monitor.yml @@ -159,7 +159,7 @@ Resources: FunctionName: !Join [ '', [ 'efs-', !Ref ElasticFileSystem, '-size-monitor' ] ] Handler: index.handler Role: !GetAtt LambdaRoleRetain.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 EfsSizeMonitorFunctionDelete: Type: AWS::Lambda::Function @@ -220,7 +220,7 @@ Resources: FunctionName: !Join [ '', [ 'efs-', !Ref ElasticFileSystem, '-size-monitor' ] ] Handler: index.handler Role: !GetAtt LambdaRoleDelete.Arn - Runtime: python2.7 + Runtime: python3.8 Timeout: 60 LambdaRoleRetain: Type: AWS::IAM::Role