Commit Graph

24 Commits

Author SHA1 Message Date
Fedorenko Dmitrij
9640ec20d1
Stable cognito user pool (#5194) 2022-06-13 10:14:22 +00:00
szopen321
6b14d01f5d
EC2 - Add ami validation (#5160) 2022-05-26 16:04:36 +00:00
szopen321
e8ea958444
EC2 - Add keypair validation (#5152) 2022-05-25 14:18:03 +00:00
szopen321
dbcee3c196
Add instance type validation on add instance method (#5132) 2022-05-18 17:51:51 +00:00
Nick Pope
d12254309d
Fix ResourceWarning in moto.settings.is_docker(). (#5060) 2022-04-25 20:17:49 +00:00
Nick Pope
182e45aa81
Added support for custom AWS Lambda images. (#4889) 2022-02-24 22:53:43 -01:00
Bert Blommers
e1ffd27201
Increase Batch timeouts, in case Docker takes a while to start (#4827) 2022-02-04 20:10:46 -01:00
Tuukka Ikkala
e9fada8ebd
Allow mock_s3 to use the standalone moto server running in alternative endpoint by adding TEST_SERVER_MODE_ENDPOINT environment variable (#4723) 2022-01-27 18:34:49 -01:00
Bert Blommers
3ba3f1460f
Propagate MotoHost via env vars to Lambda (#4658) 2022-01-27 11:04:03 -01:00
Bert Blommers
291aa83137
ECS - LongARN is enabled by default (#4762) 2022-01-18 19:53:31 -01:00
Bert Blommers
cf87e75d6e
Feature: Mock region (#4699) 2021-12-24 20:02:45 -01:00
Bert Blommers
9258316e16
Prep 2.2.17 release (#4642) 2021-11-29 19:35:18 -01:00
Bert Blommers
a912fc4cac
Feature: Allow custom endpoints for S3 (#4562) 2021-11-17 20:02:14 -01:00
Bert Blommers
f923d0d1e0
Feature: Custom cloudformation resources (#4512) 2021-11-03 20:00:42 -01:00
Bert Blommers
7f0ef4a0cc
ECS - Enable option to use new ARN format (#4450) 2021-10-21 10:05:10 +00:00
benediktbrandt
eb6515cf50
Reduce default value for DEFAULT_KEY_BUFFER_SIZE (#4003)
* - introduce environment variable for DEFAULT_KEY_BUFFER_SIZE

* - prefix env variable with MOTO_S3 to avoid env variable conflicts

* - reduce the DEFAULT_KEY_BUFFER_SIZE to be less than the S3_UPLOAD_PART_MIN_SIZE to prevent in memory caching of multi part uploads

* - black formatting

* - fix formatting

* - fix missing import
2021-07-07 16:38:50 +01:00
benediktbrandt
479ce861a7
Env variable for default key buffer size (#4001)
* - introduce environment variable for DEFAULT_KEY_BUFFER_SIZE

* - prefix env variable with MOTO_S3 to avoid env variable conflicts

* - black formatting

* - fix formatting
2021-06-10 10:48:28 +01:00
Kai Xia(夏恺)
5eb99da75a
Make it possible to customize the ACM cert validation wait time. (#3843)
* Make it possible to customize the ACM cert validation wait time.

Signed-off-by: Kai Xia <kaix+github@fastmail.com>

* address PR comments & change requests.

Signed-off-by: Kai Xia <kaix+github@fastmail.com>

* make tests work.

Signed-off-by: Kai Xia <kaix+github@fastmail.com>
2021-04-10 08:13:20 +01:00
Codeglitches
9f9716ee01
Check S3_IGNORE_SUBDOMAIN_BUCKETNAME environment variable (#3796)
* Check S3_IGNORE_SUBDOMAIN_BUCKETNAME environment variable

* move S3_IGNORE_SUBDOMAIN_BUCKETNAME environment variable to settings
2021-03-26 16:51:19 +00:00
Chih-Hsuan Yen
2000f6654f
Support Podman for mocking Lambda (#3702)
* Support Podman for mocking Lambda

Podman supports all Docker APIs used in moto since version 3.0. Note
that Podman requires pulling the image before creating a container
using a fully-qualified image name (e.g., "docker.io/library/busybox"
instead of "busybox").

Test plan:
$ podman system service -t 0
$ DOCKER_HOST="unix://$XDG_RUNTIME_DIR/podman/podman.sock" pytest

Fixes https://github.com/spulec/moto/issues/3276

* Run black

* Python 2 compatibility

* Address review comments and improve parse_image_ref
2021-02-18 08:58:20 +00:00
Ciaran Evans
48df5bd5af
Add basic get_execution_history implementation for Step Functions (#3507)
* Add format command to makefile

* Refactor executions to be a attribute of StateMachine

* Begin to add tests for execution history

* Add tests for failed and successful event histories, with implementations

* Add failure case to environment var check

* Skip test if in server mode and update implementation coverage

* Add conditional import for mock to cover python 2

* Refactor stop execution logic into StateMachine

* Refactor event history environment variable into settings.py

* Remove typing and os import
2020-12-03 18:32:06 +00:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
acsbendi
3dd2e3a1b8 Moved INITIAL_NO_AUTH_ACTION_COUNT to settings. 2019-07-24 16:30:48 +02:00
Steve Pulec
81836b6981 Get standalone server mode working for all tests. 2017-02-23 19:43:48 -05:00