Commit Graph

4372 Commits

Author SHA1 Message Date
Bert Blommers
179bdd6caa #2002 - Take ElasticNetworkInterfaces into account when requesting available IP addresses 2019-11-08 16:40:17 +00:00
Your Name
f58f645a8e available_ip_addresses is now a string 2019-11-08 01:45:40 -08:00
Your Name
040cbef9be Displays the correct number of available IP addresses for a subnet
create_subnet and describe_subnets displays the correct number of
available IP addresses. The module currently has '251' hardcoded.
This fix shows available IPs minus 5, which are reserved in each
subnet by AWS.
2019-11-08 01:40:23 -08:00
Bert Blommers
0c3d7c4f04
Merge pull request #14 from spulec/master
Merge upstream
2019-11-07 15:36:46 +00:00
Steve Pulec
b19abbc63e
Merge pull request #2538 from edekadigital/fix-sns-subscribe-sms-validation
Fix sns.subscribe validation for sms numbers
2019-11-04 23:02:37 -06:00
Steve Pulec
1f9208e19c
Merge pull request #2534 from william-richard/add-ssm-get-parameter-history-support
Add ssm `get_parameter_history` support
2019-11-04 22:54:57 -06:00
Steve Pulec
4a4ca2cc4a
Merge pull request #2533 from ianyon/lambda-get-by-arn
Feature - Lambda get by arn and update/get function environment
2019-11-04 22:53:20 -06:00
Steve Pulec
3dbce228ec
Merge pull request #2532 from baolsen/datasync
Added mocks for AWS DataSync #2526
2019-11-04 22:51:23 -06:00
Steve Pulec
740dedc664
Merge pull request #2531 from bblommers/feature/2521
API Gateway - Implement Stage deletion
2019-11-04 22:47:50 -06:00
Steve Pulec
2fca4f05bd
Merge pull request #2530 from asherf/travis
Fix deprecations in travis.yaml
2019-11-04 22:46:29 -06:00
Steve Pulec
f679963ffa
Merge pull request #2528 from bblommers/feature/2527
DynamoDB - Allow nested attributes in ProjectionExpressions
2019-11-04 22:45:12 -06:00
Steve Pulec
ad6b73b38e
Merge pull request #2525 from edekadigital/add-iam-account-password-policy
Add iam account password policy
2019-11-04 22:44:04 -06:00
gruebel
58daa428f3 Fix sns.subscribe validation for sms numbers 2019-11-04 22:57:53 +01:00
William Richard
715ff0f7af
Return a sensible error when the parameter is not found 2019-11-04 15:31:15 -05:00
William Richard
3816eba58f
Fix linting 2019-11-04 13:04:10 -05:00
William Richard
aeb7974549
Add get_parameter_history implementation and tests 2019-11-04 12:49:09 -05:00
William Richard
b4fb4b3b5d
Store all parameter versions, not just the latest version 2019-11-04 12:43:37 -05:00
Bjorn Olsen
97c20dd11d Added AWS DataSync mocks and tests 2019-11-04 17:41:46 +02:00
Ian Yon
9e2b47e82b Applied black formatter 2019-11-04 12:22:03 -03:00
Ian Yon
577419798d Merge from master to current branch 2019-11-04 12:14:43 -03:00
Ian Yon
90a9235f4c Allow lambda get function by arn and addded environment configuration 2019-11-04 10:44:01 -03:00
Bert Blommers
e4b586022d API Gateway - Linting 2019-11-04 02:02:07 -08:00
Bert Blommers
f0e2d44c5d Make API Gateway tests Python2/3 compatible 2019-11-04 09:41:47 +00:00
Bert Blommers
2d32ee18a6 #2521 - Implement API Gateway Stage deletion 2019-11-04 09:12:24 +00:00
Asher Foa
24b04b6b70 Fix deprecations in travis.yaml
https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments
https://blog.travis-ci.com/2019-08-27-deployment-tooling-dpl-v2-preview-release

> skip_cleanup is now deprecated, and cleanup is false by default. The default used to be true, so you had to opt out using skip_cleanup … and has been used a lot. Cleaning up the working directory from any left over build artifacts only made sense for few providers, so we have changed this default.
2019-11-03 20:13:53 -08:00
Bert Blommers
eaa23800bd Linting 2019-11-03 07:33:27 -08:00
Bert Blommers
5876dc0186 Fix test - List order does not matter for projectionexpression 2019-11-03 07:14:19 -08:00
Bert Blommers
6a601d7d5c #2527 - DynamoDB - Allow nested attributes in ProjectionExpressions 2019-11-03 14:09:27 +00:00
Bert Blommers
67f9dd12da
Merge pull request #13 from spulec/master
Merge upstream
2019-11-03 14:04:16 +00:00
Bjorn Olsen
c02c0e4033 added several basic tests 2019-11-01 21:16:59 +02:00
Bjorn Olsen
9c00f572d6 First working tests! 2019-11-01 19:24:21 +02:00
gruebel
78e2714496 black format 2019-11-01 07:14:03 +01:00
gruebel
89c43820c9 Add iam.delete_account_password_policy 2019-11-01 07:07:33 +01:00
gruebel
65fa8f1a1b Add iam.get_account_password_policy 2019-11-01 07:07:32 +01:00
gruebel
06581391bd Add iam.update_account_password_policy 2019-11-01 07:03:27 +01:00
Steve Pulec
e00af2f73c
Merge pull request #2518 from asherf/run-black
Run black linter and enforce going forward
2019-10-31 17:39:22 -05:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Asher Foa
c820395dbf Run black linter and enforce going forward 2019-10-31 08:46:14 -07:00
Bert Blommers
f34298cffd
Merge pull request #12 from spulec/master
Merge upstream
2019-10-31 10:22:07 +00:00
Steve Pulec
54c8a7dea1
Merge pull request #2519 from yan12125/python38
Python 3.8 support
2019-10-30 22:52:40 -05:00
Steve Pulec
0e42f7fd53
Merge pull request #2523 from PMende/master
Remove newlines from XML responses
2019-10-30 22:29:27 -05:00
Patrick Mende
5cccb03c91
Remove newlines from XML responses
This is a second attempt at resolving the issues with producing an XML consistent with what is produced from AWS (i.e., no spaces/new lines between tags). Another attempt (https://github.com/spulec/moto/pull/2205) is currently failing in tests.

This attempt uses precompiled regex patterns as class attributes of the `_TemplateEnvironmentMixin` to remove trailing spaces and newlines after a `">"`, and preceding newlines/spaces before a `"<"`. This *explicitly* wasn't done with a single regex to ensure that even things like `"...<ID>\n      12345\n    </ID>"` are properly collapsed.
2019-10-30 14:08:24 -07:00
Mike Grima
8f3116220c
Merge pull request #2520 from edekadigital/refactor-sqs
Refactor sqs
2019-10-30 09:54:41 -07:00
gruebel
86e53c3db3 Remove dead code 2019-10-30 17:37:38 +01:00
Mike Grima
c613a43cb3
Merge pull request #2522 from mikegrima/configs3tagging
Small fix for S3-AWS Config compatibility
2019-10-29 15:40:51 -07:00
Mike Grima
513f6d58ac
Merge pull request #2517 from edekadigital/fix-sns-permissions
Fix sns.add_permission & remove_permission
2019-10-29 14:41:47 -07:00
Mike Grima
503bc333ca Small fix for S3-AWS Config compatibility
- Small bug in tags with AWS Config
- Aggregated results lack "tags" in the result set
- Buckets also add a supplementary configuration of
"BucketTaggingConfiguration"
2019-10-29 14:35:13 -07:00
gruebel
c5059ad3d1 Fix test server error 2019-10-28 17:21:01 +01:00
Chih-Hsuan Yen
8313142f44
Use Buster container images for Python 3.8 2019-10-27 23:34:30 +08:00
Chih-Hsuan Yen
84fb52d0a2
Fix remaining flake8 issues
Disabling W504 and W605 for now as there are too many instances.
2019-10-27 21:00:01 +08:00