From 627ccb110e2d2241e750c8f4e76fba004d920a2a Mon Sep 17 00:00:00 2001 From: Tarun Menon Date: Tue, 31 Oct 2023 12:10:27 +1100 Subject: [PATCH] Bump python to 3.11 --- amazonmq.config.yaml | 2 +- spec/amq_xml_spec.rb | 2 +- spec/default_spec.rb | 2 +- spec/engine_version_spec.rb | 2 +- spec/logging_spec.rb | 2 +- spec/maintenance_window_spec.rb | 2 +- spec/security_groups_spec.rb | 2 +- spec/tags_spec.rb | 2 +- spec/users_spec.rb | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/amazonmq.config.yaml b/amazonmq.config.yaml index a062cfb..36335c9 100644 --- a/amazonmq.config.yaml +++ b/amazonmq.config.yaml @@ -34,6 +34,6 @@ ssm_custom_resources: SSMSecureParameterCR: code: handler.py handler: handler.lambda_handler - runtime: python3.8 + runtime: python3.11 timeout: 5 role: SSMParameterCustomResource diff --git a/spec/amq_xml_spec.rb b/spec/amq_xml_spec.rb index 9b37c9b..2650bc5 100644 --- a/spec/amq_xml_spec.rb +++ b/spec/amq_xml_spec.rb @@ -241,7 +241,7 @@ end it "to have property Runtime" do - expect(resource["Properties"]["Runtime"]).to eq("python3.8") + expect(resource["Properties"]["Runtime"]).to eq("python3.11") end it "to have property Timeout" do diff --git a/spec/default_spec.rb b/spec/default_spec.rb index 128b06b..1c72860 100644 --- a/spec/default_spec.rb +++ b/spec/default_spec.rb @@ -212,7 +212,7 @@ end it "to have property Runtime" do - expect(resource["Properties"]["Runtime"]).to eq("python3.8") + expect(resource["Properties"]["Runtime"]).to eq("python3.11") end it "to have property Timeout" do diff --git a/spec/engine_version_spec.rb b/spec/engine_version_spec.rb index 6c035c9..ef75c8f 100644 --- a/spec/engine_version_spec.rb +++ b/spec/engine_version_spec.rb @@ -212,7 +212,7 @@ end it "to have property Runtime" do - expect(resource["Properties"]["Runtime"]).to eq("python3.8") + expect(resource["Properties"]["Runtime"]).to eq("python3.11") end it "to have property Timeout" do diff --git a/spec/logging_spec.rb b/spec/logging_spec.rb index 45380c4..65cf3c0 100644 --- a/spec/logging_spec.rb +++ b/spec/logging_spec.rb @@ -212,7 +212,7 @@ end it "to have property Runtime" do - expect(resource["Properties"]["Runtime"]).to eq("python3.8") + expect(resource["Properties"]["Runtime"]).to eq("python3.11") end it "to have property Timeout" do diff --git a/spec/maintenance_window_spec.rb b/spec/maintenance_window_spec.rb index cbb872c..12a4baf 100644 --- a/spec/maintenance_window_spec.rb +++ b/spec/maintenance_window_spec.rb @@ -216,7 +216,7 @@ end it "to have property Runtime" do - expect(resource["Properties"]["Runtime"]).to eq("python3.8") + expect(resource["Properties"]["Runtime"]).to eq("python3.11") end it "to have property Timeout" do diff --git a/spec/security_groups_spec.rb b/spec/security_groups_spec.rb index 658a250..f71fe46 100644 --- a/spec/security_groups_spec.rb +++ b/spec/security_groups_spec.rb @@ -216,7 +216,7 @@ end it "to have property Runtime" do - expect(resource["Properties"]["Runtime"]).to eq("python3.8") + expect(resource["Properties"]["Runtime"]).to eq("python3.11") end it "to have property Timeout" do diff --git a/spec/tags_spec.rb b/spec/tags_spec.rb index b11a5fe..a4e5a36 100644 --- a/spec/tags_spec.rb +++ b/spec/tags_spec.rb @@ -212,7 +212,7 @@ end it "to have property Runtime" do - expect(resource["Properties"]["Runtime"]).to eq("python3.8") + expect(resource["Properties"]["Runtime"]).to eq("python3.11") end it "to have property Timeout" do diff --git a/spec/users_spec.rb b/spec/users_spec.rb index ab4f7d6..d3223ee 100644 --- a/spec/users_spec.rb +++ b/spec/users_spec.rb @@ -304,7 +304,7 @@ end it "to have property Runtime" do - expect(resource["Properties"]["Runtime"]).to eq("python3.8") + expect(resource["Properties"]["Runtime"]).to eq("python3.11") end it "to have property Timeout" do