Commit Graph

7514 Commits

Author SHA1 Message Date
Marco Braga
01e2d11ed3
ELBv2-FakeLoadBalancer: attr load_balancing.cross_zone.enabled (#6196) 2023-04-10 15:48:30 +00:00
DEEPAK MEENA
d2c3b31902
Docs: Explain how to set port in Docker (#6181) 2023-04-10 15:45:13 +00:00
github-actions[bot]
04b9aa49a8
chore: update SSM default parameters (#6193) 2023-04-09 22:07:07 +00:00
github-actions[bot]
3c3a827aac
chore: update EC2 Instance Offerings (#6191) 2023-04-09 22:06:36 +00:00
Mike Grima
6a12c6c0a9
Merge pull request #6188 from mikegrima/config
Added support for AWS Config Retention Configuration
2023-04-09 15:21:36 -04:00
Mike Grima
ae8f2a19c6
Added support for AWS Config Retention Configuration
- Added AWS Config Retention Configuration support
- Also added S3 KMS Key ARN support for the Delivery Channel
- Updated the supported functions page for Config
2023-04-09 11:45:39 -04:00
Bert Blommers
c45e79a566
Techdebt: MyPy Quicksight (#6194) 2023-04-09 14:21:53 +00:00
rafcio19
201e57585b
SQS: Improve deduplication logic (#6184) 2023-04-09 10:13:28 +00:00
Bert Blommers
0e6d27bac0
S3: Allow Bucket Creation without specifying Content-Length header (#6190) 2023-04-09 10:05:43 +00:00
Bert Blommers
1eb3479d08
Techdebt: MyPy P (#6189) 2023-04-08 20:44:26 +00:00
Bert Blommers
ba05cc9c81
S3: Allow DeleteMarker as appropriate (#6187) 2023-04-08 10:34:15 +00:00
Bert Blommers
bab61089a3
RDS: Various improvements (#6186) 2023-04-08 10:33:09 +00:00
Bert Blommers
1111e10b87
DynamoDB: Allow attribute name 'S' (#6185) 2023-04-07 21:02:00 +00:00
Josh Kropf
dc460a3258
EC2: Fix egress rules used in ingress revoke method (#6180) 2023-04-06 18:59:18 +00:00
Matthew Burke
bbb07b4e7e
Cognito: Validate password in NEW_PASSWORD_REQUIRED (#6174) 2023-04-05 16:15:30 +00:00
Cole Peters
f424c6ac05
DynamoDB:query() KeyConditionExpression now allows enclosing the sort key condition in brackets (#6178) 2023-04-05 14:30:19 +00:00
Bert Blommers
db6874aec6
Techdebt: MyPy O (#6177) 2023-04-05 12:04:58 +00:00
Bert Blommers
be17a7d8e2
Logs: put_subscription_filter() now supports KinesisStream destinations (#6176) 2023-04-05 09:36:37 +00:00
Bartosz Janda
9f91ac0eb9
Cognito: Add missing double quota to special characters. (#6173) 2023-04-04 18:59:15 +00:00
Bert Blommers
6c32c089a1
Feature: LakeFormation (#6172) 2023-04-04 09:36:48 +00:00
Bert Blommers
8a79c34674
Update JS dependencies in MotoServer dashboard (#6171) 2023-04-04 09:36:16 +00:00
Bert Blommers
8e0e95b629
Techdebt: TF tests: Use builtin cache-mechanism from GA (#6169) 2023-04-04 09:35:53 +00:00
Bert Blommers
706ff9f5e0
Techdebt: MyPy M (#6170) 2023-04-03 22:50:19 +00:00
Bert Blommers
52870d6114
Feature: RDS Data (#6168) 2023-04-03 16:18:10 +00:00
github-actions[bot]
02e892e30a
chore: update SSM default parameters (#6166) 2023-04-03 09:17:39 +00:00
github-actions[bot]
5e415eba05
chore: update EC2 Instance Types (#6164) 2023-04-03 09:17:04 +00:00
Lewis Gaul
2667a53725
EC2: Support assigning specified private IP addrs (#6147) 2023-04-03 09:16:31 +00:00
Jordan Sanders
7dc17d655b
CloudFormation: Implement Fn::ToJsonString (#6167) 2023-04-02 21:56:24 +00:00
github-actions[bot]
fe7f8ae249
chore: update EC2 Instance Offerings (#6163) 2023-04-02 17:36:20 +00:00
github-actions[bot]
492d8a7cdc
chore: update SSM default AMI's (#6156) 2023-04-02 17:35:51 +00:00
dependabot[bot]
18389ac508
Bump software.amazon.awssdk:bom in /other_langs/tests_java (#6158) 2023-04-02 16:15:39 +00:00
Bert Blommers
84ea0252f9
Admin: Skip long-running tests for small Java-updates (#6160) 2023-04-02 11:51:55 +00:00
Bert Blommers
0677f69211
ECS: run_task() now validates the provided launch-type (#6161) 2023-04-02 11:44:10 +00:00
Bert Blommers
0e58d3996b
APIGateway: Allow semicolon in path (#6159) 2023-04-01 22:37:57 +00:00
Bert Blommers
d343981916
S3: head_object() now returns the AcceptRanges header (#6157) 2023-04-01 20:20:29 +00:00
Bert Blommers
cc9c98fb27
Update dependabot.yml - update NuGet deps 2023-04-01 18:43:13 +00:00
Basti110
fe1869212f
dynamodb AttributeUpdate ADD/PUT/DELETE for NS (#6138) 2023-04-01 16:47:04 +00:00
Viren Nadkarni
d0cfddebfd
EC2: Implement GetLaunchTemplateData (#6152)
* EC2: Implement GetLaunchTemplateData

* Update implementation coverage docs

* Fix test
2023-03-30 16:53:26 +01:00
Ian Tempest
20ea1f43ac
ecr.put_image - Support imageManifestMediaType parameter (issue 6135) (#6136)
* ecr.put_image - Support imageManifestMediaType parameter (issue 6135)

* test_put_image_without_mediatype alternative error raised in server mode

* Fix indentation in test_put_image_without_mediatype
2023-03-30 08:40:57 +01:00
Priya M
d07b50f755
Fix Cloudformation delete stack implementation (#6123) 2023-03-29 21:53:30 +01:00
github-actions[bot]
a4fe80d274
chore: update SSM default parameters (#6133)
Co-authored-by: bblommers <bblommers@users.noreply.github.com>
2023-03-28 18:09:40 +01:00
github-actions[bot]
015e03764c
chore: update EC2 Instance Types (#6131)
Co-authored-by: bblommers <bblommers@users.noreply.github.com>
2023-03-28 18:09:02 +01:00
Jordan Sanders
adb64bd97a
CloudFormation, Logs: Resolve LogGroup physical id and attributes (#6125)
* CloudFormation, Logs: Add physical_resource_id to LogGroup

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#aws-resource-logs-loggroup-return-values

This brings CloudFormation's Ref behavior more in line with actual
AWS behavior. Previously, it returned an instance of a LogGroup model.

I didn't add a test case for this but I'm happy to do so if requested.

* Resolve LogGroup Fn::GetAtt

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html#aws-resource-logs-loggroup-return-values

* Add type annotations

* Add return type annotation

* Updating CloudFormation coverage
2023-03-28 13:17:56 +01:00
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