From 3906a9c36520813ec710d25c823aa9778b8e5e63 Mon Sep 17 00:00:00 2001 From: Ray Layadi Date: Mon, 27 May 2024 14:23:14 +1000 Subject: [PATCH] fix: bump python version --- 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..b85a475 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.12 timeout: 5 role: SSMParameterCustomResource diff --git a/spec/amq_xml_spec.rb b/spec/amq_xml_spec.rb index 9b37c9b..daa6320 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.12") end it "to have property Timeout" do diff --git a/spec/default_spec.rb b/spec/default_spec.rb index 128b06b..042311d 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.12") end it "to have property Timeout" do diff --git a/spec/engine_version_spec.rb b/spec/engine_version_spec.rb index 6c035c9..ff38d9f 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.12") end it "to have property Timeout" do diff --git a/spec/logging_spec.rb b/spec/logging_spec.rb index 45380c4..9d40312 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.12") end it "to have property Timeout" do diff --git a/spec/maintenance_window_spec.rb b/spec/maintenance_window_spec.rb index cbb872c..c1bd6ea 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.12") end it "to have property Timeout" do diff --git a/spec/security_groups_spec.rb b/spec/security_groups_spec.rb index 658a250..9f54029 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.12") end it "to have property Timeout" do diff --git a/spec/tags_spec.rb b/spec/tags_spec.rb index b11a5fe..58efa54 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.12") end it "to have property Timeout" do diff --git a/spec/users_spec.rb b/spec/users_spec.rb index ab4f7d6..fd72b93 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.12") end it "to have property Timeout" do