Commit Graph

5264 Commits

Author SHA1 Message Date
Bert Blommers
a86cba79de Add S3 LocationConstraint to Lambda tests 2020-02-02 11:48:32 +00:00
Bert Blommers
f74f08581a S3 - Add IllegalLocationConstraint validation when creating buckets 2020-02-02 10:36:51 +00:00
Brandon Bradley
800e5ab7d2 requested changes from review 2020-02-01 14:52:48 -06:00
Bert Blommers
b971aee9d5
Merge pull request #27 from spulec/master
Merge upstream
2020-02-01 09:53:15 +00:00
Asher Foa
27ce0b7ab1 Botocore no longer needs an older version of python-dateutil.
https://github.com/boto/botocore/pull/1910
https://github.com/boto/botocore/issues/1872
https://github.com/spulec/moto/pull/2570
2020-01-31 12:49:12 -08:00
gruebel
40bd4f1603 Fix kms.create_key default output 2020-01-31 17:16:42 +01:00
Bert Blommers
b6aeae0f2d
Merge pull request #2707 from UltCombo/patch-1
Support greedy resource path in API Gateway
2020-01-31 15:27:35 +00:00
Bert Blommers
4b1173c3ac
Merge pull request #2712 from gruebel/fix-sqs-permissions
Fix sqs permission handling & add more error handling
2020-01-31 15:24:53 +00:00
Brandon Bradley
8b3c2b6654
fix test 2020-01-30 17:50:21 -06:00
Brandon Bradley
b7795b7111 test for ListStackResources 2020-01-30 16:35:19 -06:00
gruebel
44024ab74b Fix sqs permission handling & add more error handling 2020-01-30 22:42:27 +01:00
Bert Blommers
2f9b259cc1
Merge pull request #2701 from kislyuk/patch-2
awslambda: explicitly specify json-file log driver
2020-01-30 07:52:23 +00:00
Brandon Bradley
c877266f86 fix 500 error on non-existing stack name 2020-01-29 16:27:56 -06:00
Fabrício Matté
cf65cfc6ec
Update API Gateway resource name test 2020-01-29 16:28:37 -03:00
Jon Beilke
d4851d3eab
Merge pull request #4 from spulec/master
pull latest changes from upstream spulec/moto repo
2020-01-29 09:57:22 -06:00
Bert Blommers
da40c7125a
Merge pull request #2703 from brady-gsa/fix_lambda_config
Fixes awslambda policy management
2020-01-29 15:30:25 +00:00
Brady
dd243d72c2 switch to using sure for assertions 2020-01-29 09:46:09 -05:00
Fabrício Matté
be8eab18e9
Update InvalidResourcePathException message 2020-01-28 20:56:13 -03:00
Fabrício Matté
55a1c2fb59
Support greedy resource path 2020-01-28 20:45:19 -03:00
Bert Blommers
3cf45b7838
Merge pull request #2667 from owenfarrell/master
Made UserName parameter optional for IAM access key functions
2020-01-28 08:24:12 +00:00
Owen Farrell
142e237b0b Made UserName parameter optional for IAM access key functions 2020-01-27 12:12:21 -05:00
Brady
cb07d17e13 don't use table of test cases and reduce duplication in get_policy method 2020-01-27 10:35:46 -05:00
Bert Blommers
4342b93170
Merge pull request #2702 from kislyuk/patch-5
awslambda: return actual result in sync invoke
2020-01-25 17:24:37 +00:00
Brady
2a2ff32dec improves support for AWS lambda policy management 2020-01-24 14:53:16 -05:00
Andrey Kislyuk
324ef5af36 Fix test 2020-01-24 16:11:44 +00:00
Bert Blommers
ccd0257acc Fix Lambda tests for DryRuns 2020-01-24 10:09:56 +00:00
Stephan Huber
5543a91cc1 Merge remote-tracking branch 'upstream/master' 2020-01-24 10:38:19 +01:00
Bert Blommers
ee8231202a Fix linting 2020-01-24 09:08:48 +00:00
Roque Pinel
2ae09c5335 Fix the StatusCode returned by lambda invoke
According to the AWS documentation:
```
The HTTP status code will be in the 200 range for successful request.
For the RequestResponse invocation type this status code will be 200.
For the Event invocation type this status code will be 202.
For the DryRun invocation type the status code will be 204.
```
2020-01-24 09:07:49 +00:00
Bert Blommers
b223cbc11b
Merge pull request #26 from spulec/master
Merge upstream
2020-01-24 08:48:41 +00:00
Bert Blommers
8f05d4aa3d
Merge pull request #2698 from asherf/others
Fix more typos.
2020-01-24 08:10:26 +00:00
Asher Foa
b4127040d1 remove this change. 2020-01-23 10:16:12 -08:00
Asher Foa
d9d055c75d Fix more typos. 2020-01-23 10:15:02 -08:00
Stephan Huber
20020c5170 Change whitespaces back to the way they were and fix typos 2020-01-23 15:46:50 +01:00
Stephan Huber
84210f6011 Merge remote-tracking branch 'upstream/master' 2020-01-23 15:37:40 +01:00
Steve Pulec
19bf8bf762 Change S3 S3_ALL_BUCKETS response to return bucket creation_date in iso format. 2020-01-22 20:43:45 -06:00
Steve Pulec
769c41e5a8
Merge pull request #2677 from ptdel/minor-scaffold-fixes
fix: small fixes to get scripts/scaffold.py working
2020-01-22 20:03:01 -06:00
Steve Pulec
663d7c289b
Merge pull request #2675 from bblommers/bugfix/#2674
DynamoDB - ListAppend should also work when adding maps to a list
2020-01-22 20:01:53 -06:00
Steve Pulec
c5b7b2f7af
Merge pull request #2687 from bblommers/bugfix/2626
DynamoDB - Update Item doesnt handle LT/GT properly
2020-01-22 20:01:00 -06:00
Steve Pulec
d73a548bb0 Remove duplicate StorageClass in S3_MULTIPART_LIST_RESPONSE. 2020-01-22 19:45:27 -06:00
Steve Pulec
dff1986801
Merge pull request #2683 from Journera/ecs-td-add-network-mode
Store 'networkMode' in ECS Task Definitions instead of just throwing it away
2020-01-22 19:39:41 -06:00
Steve Pulec
a32b3c4b59 Fix SQS get_queue_attributes to allow RedrivePolicy. Closes #2682. 2020-01-22 19:38:07 -06:00
Andrey Kislyuk
e3906043d7
Fix linter error 2020-01-22 16:58:25 -08:00
Andrey Kislyuk
5ba786d97a
awslambda: return actual result in sync invoke
Return actual output of the Lambda instead of echoing the input.
2020-01-22 16:39:11 -08:00
Andrey Kislyuk
ed81e36faf
awslambda: explicitly specify json-file log driver
This is analogous to #2635.
2020-01-22 16:08:42 -08:00
Bert Blommers
7ff7ee4e8e Test fix - Region must be specified 2020-01-22 11:42:06 +00:00
Bert Blommers
6f02782624 #2627 - Change comparison to differentiate between 0 and None 2020-01-22 11:30:17 +00:00
Steve Pulec
b54d3b5a11
Merge pull request #2685 from moseb/losen-jsondiff-dependency
setup.py: Unlock use with jsondiff >1.1.2
2020-01-21 21:38:53 -06:00
Steve Pulec
4335f1d3dd
Merge pull request #2669 from bblommers/lambda-return-output-only
AWS Lambda - Return response only, and skip log/print statements
2020-01-21 21:37:36 -06:00
Brady
1e851fb1d8 remove dead code 2020-01-17 10:12:58 -05:00