Commit Graph

7571 Commits

Author SHA1 Message Date
Brian Pandola
93638de380
Add filtering support for RDS::DBCluster (#6144)
* Add filtering support for RDS::DBCluster

* Add support for filtering by `db-cluster-id`.
* Add support for filtering by `engine`.

Obviates the need for the recent change (#6114) because the filter definition maps
`db_cluster_id` to either `db_cluster_identifier` or `db_cluster_arn`.

* No longer required due to filter configuration.

* Account for Neptune weirdness...
2023-03-28 08:54:41 +01:00
Brian Pandola
28008b7e05
Combined Java Dependabot Updates (#6145)
* Bump maven-install-plugin from 3.1.0 to 3.1.1 in /other_langs/tests_java (#6143)

Bumps [maven-install-plugin](https://github.com/apache/maven-install-plugin) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/apache/maven-install-plugin/releases)
- [Commits](https://github.com/apache/maven-install-plugin/compare/maven-install-plugin-3.1.0...maven-install-plugin-3.1.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-install-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump maven-clean-plugin from 3.1.0 to 3.2.0 in /other_langs/tests_java (#6142)

Bumps [maven-clean-plugin](https://github.com/apache/maven-clean-plugin) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/apache/maven-clean-plugin/releases)
- [Commits](https://github.com/apache/maven-clean-plugin/compare/maven-clean-plugin-3.1.0...maven-clean-plugin-3.2.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-clean-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump software.amazon.awssdk:bom in /other_langs/tests_java (#6141)

Bumps [software.amazon.awssdk:bom](https://github.com/aws/aws-sdk-java-v2) from 2.20.28 to 2.20.33.
- [Release notes](https://github.com/aws/aws-sdk-java-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-java-v2/blob/master/docs/LaunchChangelog.md)
- [Commits](https://github.com/aws/aws-sdk-java-v2/compare/2.20.28...2.20.33)

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump maven-resources-plugin in /other_langs/tests_java (#6140)

Bumps [maven-resources-plugin](https://github.com/apache/maven-resources-plugin) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/apache/maven-resources-plugin/releases)
- [Commits](https://github.com/apache/maven-resources-plugin/compare/maven-resources-plugin-3.3.0...maven-resources-plugin-3.3.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-resources-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump maven-deploy-plugin from 3.1.0 to 3.1.1 in /other_langs/tests_java (#6139)

Bumps [maven-deploy-plugin](https://github.com/apache/maven-deploy-plugin) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/apache/maven-deploy-plugin/releases)
- [Commits](https://github.com/apache/maven-deploy-plugin/compare/maven-deploy-plugin-3.1.0...maven-deploy-plugin-3.1.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-deploy-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 20:50:33 -07:00
github-actions[bot]
e3fe0b0c39
chore: update EC2 Instance Offerings (#6130)
Co-authored-by: bblommers <bblommers@users.noreply.github.com>
2023-03-27 18:03:32 +01:00
Bert Blommers
14d3c5a76a
Techdebt: MyPy ManagedBlockchain (#6134) 2023-03-27 18:00:24 +01:00
Jordan Sanders
94d35af520
CloudFormation: Add coverage checklist (#6129)
This change introduces a checklist similar to IMPLEMENTATION_COVERAGE.md
to document moto's adherence to the full CloudFormation specification.

The script (invoked via `make cloudformation_coverage`) finds any moto
models that implement `moto.core.common_models.CloudFormationModel` and
checks to see if all CRUD methods are implemented. For `has_cfn_attr`,
it also checks to see if all of the attributes exposed by `Fn::GetAtt` are
implemented. It does not check to see if `physical_resource_id` is
implemented because as far as I can tell, the published AWS spec doesn't
include that information:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html

A more aggressive approach would be to remove default implementations
from all the abstract methods and allow Python to throw for any
unimplemented method. But that would obviously break a lot of things.

Instead, I think the checklist represents good documentation for users
about what they can and can't expect moto to handle when parsing their
CloudFormation templates. It also serves as a nice to-do list of small
improvements for contributors to add (and I'll likely add a few myself).
Many of these would be particularly good "first issues" for first time
contributors because in general, these methods just call existing
methods.
2023-03-27 17:56:19 +01:00
Moto Admin
fa2b6d28b0 Post-release steps 2023-03-26 16:31:12 +00:00
Bert Blommers
5504a8c3a0
Prep release 4.1.6 (#6132) 2023-03-26 13:54:36 +00:00
Bert Blommers
e0726f2d63
Feature: OpenSearch (#6128) 2023-03-26 12:43:28 +00:00
Bert Blommers
638171a9e1
SecretsManager - deal with partial ARNs (#6127) 2023-03-25 11:00:17 -01:00
Jordan Sanders
5c2fc55ea1
CloudFormation: Implement Fn::Sub variable mapping (#6124) 2023-03-24 18:33:52 -01:00
Jordan Sanders
d33fe9e086
Implement CloudFormation Stack deletion for VPCs, Subnets (#6118) 2023-03-24 16:49:03 -01:00
Bert Blommers
ea96013957
S3: get_object() now returns the AcceptRanges header (#6121) 2023-03-24 10:55:56 -01:00
Jordan Sanders
e3244a9678
CloudFormation: Support Retain DeletionPolicy in stacks (#6115) 2023-03-24 10:39:02 -01:00
Bert Blommers
98b02fc1a3
Admin: DotNet example project (#6110) 2023-03-24 09:46:37 -01:00
Bert Blommers
588dd58b37
EC2: Remove duplicate AMI (#6122) 2023-03-24 09:45:06 -01:00
Bert Blommers
93eb669af4
Techdebt: MyPy L (#6120) 2023-03-24 09:43:51 -01:00
Bert Blommers
3adbb8136a
RDS: describe_db_clusters() now accepts an ARN as identifier (#6114) 2023-03-23 16:57:17 -01:00
Viren Nadkarni
f01709f9ba
Fix DescribeInstances error due to a deleted subnet (#6112) 2023-03-23 09:26:49 -01:00
Bert Blommers
c3460b8a1a
Techdebt: MyPy K (#6111) 2023-03-23 09:17:40 -01:00
Bert Blommers
64abff588f
S3: head_bucket() now returns the region-header (#6107) 2023-03-23 09:13:51 -01:00
Bert Blommers
1570ca4e0c
Techdebt: Fix Docker SHA on release (#6108) 2023-03-22 22:00:50 -01:00
Bert Blommers
53603b01c7
EC2: create_route() should allow overlapping CIDR's (#6106) 2023-03-22 13:07:58 -01:00
Bert Blommers
681db433fd
S3: select_object_content() (Experimental) (#6103) 2023-03-21 15:55:19 -01:00
dependabot[bot]
c8963c23a9
Bump maven-project-info-reports-plugin in /other_langs/tests_java (#6098) 2023-03-21 15:54:33 -01:00
dependabot[bot]
e64147bb9d
Bump maven-surefire-plugin in /other_langs/tests_java (#6100) 2023-03-21 10:21:10 -01:00
dependabot[bot]
8c14e98310
Bump maven-compiler-plugin in /other_langs/tests_java (#6101) 2023-03-21 10:20:33 -01:00
dependabot[bot]
da45d243f1
Bump software.amazon.awssdk:bom in /other_langs/tests_java (#6102) 2023-03-21 10:20:03 -01:00
dependabot[bot]
cd6c102b59
Bump maven-deploy-plugin from 2.8.2 to 3.1.0 in /other_langs/tests_java (#6099) 2023-03-21 10:16:00 -01:00
dependabot[bot]
9e1564dd49
Bump actions/setup-go from 3 to 4 (#6097) 2023-03-21 10:15:30 -01:00
github-actions[bot]
54f473bb90
chore: update SSM default parameters (#6094) 2023-03-21 10:14:36 -01:00
Bert Blommers
8ec9118c78
SSM: Only update default AMI's once a month 2023-03-20 16:03:30 -01:00
Tristan Rice
293c6c7aa0
Batch: use specified network IP address (#6095) 2023-03-20 16:00:01 -01:00
github-actions[bot]
fedac8c0d8
chore: update EC2 Instance Offerings (#6088) 2023-03-20 15:59:10 -01:00
cloudsurfer
dbee9f0c07
RDS: added TagList to DatabaseSnapshot Model (#6083) 2023-03-20 15:58:24 -01:00
Bert Blommers
6087a203fd
Techdebt: MyPy I (#6092) 2023-03-20 13:58:49 -01:00
Bert Blommers
2b9c98895c
Events: Separate Rules by the EventBus they're assigned to (#6091) 2023-03-20 13:47:22 -01:00
github-actions[bot]
86a00f1e4b
chore: update EC2 Instance Types (#6089) 2023-03-20 13:46:42 -01:00
Moto Admin
0377520f94 Post-release steps 2023-03-19 20:58:44 +00:00
Bert Blommers
076410f4f9
Prep release 4.1.5 (#6093) 2023-03-19 16:55:35 -01:00
Bert Blommers
75d1018c28
CloudFormation - support AWS::CloudFormation::Stack-resources (#6086) 2023-03-18 15:19:06 -01:00
Bert Blommers
8bf55cbe0e
IOT: delete_certificate() now supports the forceDelete-parameter (#6085) 2023-03-18 09:36:26 -01:00
Bert Blommers
851f0c1181
AWSLambda: Ability to customize Dockers' data dir (#6084) 2023-03-18 09:35:48 -01:00
Bert Blommers
5eef06ee51
DynamoDB: allow leading underscore in expression attr name (#6082) 2023-03-17 14:22:05 -01:00
Bert Blommers
c4c5cdd3e7
Techdebt: Explicitly add credentials to ThreadedMotoServer tests (#6081) 2023-03-17 12:05:05 -01:00
Bert Blommers
0fb00eda5f
Admin: Enable pushes to GHCR registry (#6080) 2023-03-16 20:22:02 -01:00
Bert Blommers
94100c116c
S3: get_object_attributes() (#6075) 2023-03-16 10:56:20 -01:00
Oliver Mannion
30a3df58f7
Techdebt: add typing to AMIS (#6063) 2023-03-15 22:38:20 -01:00
dependabot[bot]
6da5855dcf
Bump maven-resources-plugin in /other_langs/tests_java (#6069) 2023-03-15 19:24:04 +00:00
dependabot[bot]
1b52b028b6
Merge pull request #6071 from getmoto/dependabot/maven/other_langs/tests_java/org.apache.maven.plugins-maven-jar-plugin-3.3.0 2023-03-15 19:05:31 +00:00
dependabot[bot]
52154f951c
Bump junit from 4.13.1 to 4.13.2 in /other_langs/tests_java (#6072) 2023-03-15 11:01:54 -01:00