From 158263a8bfee6deecac7c75cef023b999f3149b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 15:40:34 -0400 Subject: [PATCH] chore(deps-dev): bump moto from 5.0.15 to 5.0.16 (#5256) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sergio --- poetry.lock | 8 ++++---- pyproject.toml | 2 +- tests/providers/aws/aws_provider_test.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index d70208bd5b..d8266587d7 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2594,13 +2594,13 @@ test = ["pytest", "pytest-cov"] [[package]] name = "moto" -version = "5.0.15" +version = "5.0.16" description = "" optional = false python-versions = ">=3.8" files = [ - {file = "moto-5.0.15-py2.py3-none-any.whl", hash = "sha256:fa1e92ffb55dbfb9fa92a2115a88c32481b75aa3fbd24075d1f29af2f9becffa"}, - {file = "moto-5.0.15.tar.gz", hash = "sha256:57aa8c2af417cc64a0ddfe63e5bcd1ada90f5079b73cdd1f74c4e9fb30a1a7e6"}, + {file = "moto-5.0.16-py2.py3-none-any.whl", hash = "sha256:4ce1f34830307f7b3d553d77a7ef26066ab3b70006203d4226b048c9d11a3be4"}, + {file = "moto-5.0.16.tar.gz", hash = "sha256:f4afb176a964cd7a70da9bc5e053d43109614ce3cab26044bcbb53610435dff4"}, ] [package.dependencies] @@ -5060,4 +5060,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.13" -content-hash = "460ad58905958188052d08c33a248fbdba610778cf3c557d48cb6585ea814a76" +content-hash = "89dbfce575ce3df09a5633796e5f4f8b582bca0c65939274a41768544b62aa56" diff --git a/pyproject.toml b/pyproject.toml index 23fb36748b..720a110fd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,7 +81,7 @@ docker = "7.1.0" flake8 = "7.1.1" freezegun = "1.5.1" mock = "5.1.0" -moto = {extras = ["all"], version = "5.0.15"} +moto = {extras = ["all"], version = "5.0.16"} openapi-schema-validator = "0.6.2" openapi-spec-validator = "0.7.1" pylint = "3.3.1" diff --git a/tests/providers/aws/aws_provider_test.py b/tests/providers/aws/aws_provider_test.py index e4e5fe491a..bb3883ba9a 100644 --- a/tests/providers/aws/aws_provider_test.py +++ b/tests/providers/aws/aws_provider_test.py @@ -997,11 +997,11 @@ aws: ], ) instance_id = instances["Instances"][0]["InstanceId"] - instance_arn = f"arn:aws:ec2:{AWS_REGION_EU_CENTRAL_1}::instance/{instance_id}" + instance_arn = f"arn:aws:ec2:{AWS_REGION_EU_CENTRAL_1}:{AWS_ACCOUNT_NUMBER}:ec2:instance/{instance_id}" image_id = ec2_client.create_image(Name="testami", InstanceId=instance_id)[ "ImageId" ] - image_arn = f"arn:aws:ec2:{AWS_REGION_EU_CENTRAL_1}::image/{image_id}" + image_arn = f"arn:aws:ec2:{AWS_REGION_EU_CENTRAL_1}:{AWS_ACCOUNT_NUMBER}:ec2:image/{image_id}" ec2_client.create_tags( Resources=[image_id], Tags=[{"Key": "ami", "Value": "test"}] )