Skip to content

Commit

Permalink
Prep release 5.1.1 (#8623)
Browse files Browse the repository at this point in the history
  • Loading branch information
bblommers authored Mar 2, 2025
1 parent 9352131 commit f0e258f
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/data-update_ssm-default-parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ jobs:
uses: peter-evans/create-pull-request@v7
with:
branch: 'chore-update-ssm-params-${{ github.run_number }}'
title: "chore: update SSM Instance parameters"
title: "chore: update SSM Default parameters"
commit-message: "chore: update SSM default parameters"
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
Moto Changelog
==============

5.1.1
-----
Docker Digest for 5.1.1: <autopopulateddigest>

* General:
* Compatible with the new Account-based endpoint for DynamoDB (see https://github.com/boto/boto3/issues/4449)
* Removed dependency on typing_extensions (introduced in 5.1.0)

* New Methods:
* CognitoIDP:
* delete_identity_pool()

* Glue:
* create_connection()
* get_connection()
* get_connections()

* GuardDuty:
* get_administrator_account()

* Miscellaneous:
* ResourceGroupsTaggingAPI: get_resources() now supports EventBusses
* RDS: create_db_instance() now throws an error when referencing a non-existent DBCluster

5.1.0
-----
Docker Digest for 5.1.0: _sha256:aaf5f4a72412b753b2115417e26360612564d3a29b1831f9316708e15138d699_
Expand Down
1 change: 0 additions & 1 deletion IMPLEMENTATION_COVERAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9733,7 +9733,6 @@
- ds-data
- ecr-public
- eks-auth
- elastic-inference
- entityresolution
- evidently
- finspace
Expand Down
2 changes: 2 additions & 0 deletions tests/test_apigateway/test_apigateway_cloudformation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json

import boto3
import pytest

from moto import mock_aws

Expand Down Expand Up @@ -372,6 +373,7 @@ def test_simple_apigateway_with_lambda_proxy():


@mock_aws
@pytest.mark.filterwarnings("ignore:Tried to parse")
def test_apigateway_with_unknown_description():
region = "us-east-1"
apigw = boto3.client("apigateway", region_name=region)
Expand Down
2 changes: 2 additions & 0 deletions tests/test_awslambda/test_lambda_layers_invoked.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from uuid import uuid4

import boto3
import pytest

from moto import mock_aws
from tests.markers import requires_docker
Expand All @@ -23,6 +24,7 @@ def lambda_handler(event, context):

@requires_docker
@mock_aws
@pytest.mark.filterwarnings("ignore:Error extracting layer to Lambda")
def test_invoke_local_lambda_layers():
conn = boto3.client("lambda", _lambda_region)
lambda_name = str(uuid4())[0:6]
Expand Down
1 change: 1 addition & 0 deletions tests/test_events/test_events_cloudformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def test_delete_rule():

@aws_verified
@pytest.mark.aws_verified
@pytest.mark.filterwarnings("ignore:Tried to parse")
def test_create_rule_with_targets():
# given
cfn_client = boto3.client("cloudformation", region_name="eu-central-1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def test_get_tag_values_ec2():

@mock_aws
def test_get_tag_values_event_bus():
client = boto3.client("events")
client = boto3.client("events", "us-east-1")
client.create_event_bus(Name="test-bus1")
event_bus_2 = client.create_event_bus(
Name="test-bus2", Tags=[{"Key": "Test", "Value": "Test2"}]
Expand All @@ -458,7 +458,7 @@ def test_get_tag_values_event_bus():
ResourceARN=event_bus_3["EventBusArn"], Tags=[{"Key": "Test", "Value": "Added"}]
)

rtapi = boto3.client("resourcegroupstaggingapi")
rtapi = boto3.client("resourcegroupstaggingapi", "us-east-1")
resp = rtapi.get_resources(ResourceTypeFilters=["events:event-bus"])
assert len(resp["ResourceTagMappingList"]) == 2
assert event_bus_2["EventBusArn"] in [
Expand Down

0 comments on commit f0e258f

Please sign in to comment.