From 1e39edbdd202362b0261fa82f14e9d9122cebbf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Sch=C3=BCtt?= Date: Fri, 1 Dec 2023 13:57:30 +0100 Subject: [PATCH] r8 + new sdk --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- ec2.py | 3 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ccaecb..c3f6474 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -120,9 +120,9 @@ dependencies = [ [[package]] name = "aws-sdk-ec2" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88111ec31c6a3b9ed890f345b063bc2c76b49897e0c4601f6b1350c95d8d96d6" +checksum = "0e3c8f50ef601c7c38da0319262760a7bc15efa25cb805e6a837818bbf77c4f9" dependencies = [ "aws-credential-types", "aws-http", @@ -144,9 +144,9 @@ dependencies = [ [[package]] name = "aws-sdk-pricing" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "035fe052bd7f14ecf8cea728662b2cee3b1e46c97d1ed4bbb22c14281ccaf63a" +checksum = "0ef9aecd402d5f5fbefdc3607ee7bf690cc00c86b02ac74d9307d7278eff3336" dependencies = [ "aws-credential-types", "aws-http", diff --git a/Cargo.toml b/Cargo.toml index 13b04cb..2a08cb4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,8 +15,8 @@ tracing-subscriber = "0.3.18" pretty_assertions = "1.4.0" -aws-sdk-ec2 = "1.2.0" -aws-sdk-pricing = "1.2.0" +aws-sdk-ec2 = "1.3.0" +aws-sdk-pricing = "1.3.0" aws-config = "1.0.1" aws-types = "1.0.1" diff --git a/ec2.py b/ec2.py index 8cc8f6f..89f87e7 100755 --- a/ec2.py +++ b/ec2.py @@ -46,8 +46,7 @@ def main() -> int: """Invoke The main function.""" for instance_type in ["hpc6id.32xlarge", "hpc6a.48xlarge", "c7gn.16xlarge", "hpc7g.16xlarge", - "m7a.16xlarge", "p5.48xlarge", - "r7iz.32xlarge"]: + "r8g.48xlarge"]: print_instance(instance_type) return 0