Bert Blommers
737636f9df
Tech debt ( #3653 )
2021-02-02 16:31:26 +00:00
Brian Pandola
1a98c4f14a
Fix: handling of boolean value privateDnsEnabled
in ec2:VpcEndpoint ( #3566 )
...
* Properly coerce `privateDnsEnabled` to boolean value when parsing requests.
* Per AWS spec, default `privateDnsEnabled` request value to `True`.
* Properly serialize `privateDnsEnabled` as boolean value in responses.
* Add test coverage.
Ref: #3540
2021-01-08 08:05:44 +00:00
usmangani1
af60306371
Fix:Ec2-VPC:Added functionality describe-vpc-endpoint ( #3524 )
...
* Fix:Ec2:Added fucntionality describe-vpc-endpoint
* Refactor
* Added test cases for errors
2020-12-07 21:39:57 +00:00
Matěj Cepl
ea489bce6c
Finish porting from nose to pytest.
2020-11-10 08:25:05 +01:00
Matěj Cepl
77dc60ea97
Port test suite from nose to pytest.
...
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
usmangani1
55e7caccfe
Fix:EC2 Tags in create vpc and create subnet ( #3338 )
...
Co-authored-by: usmankb <usman@krazybee.com>
2020-09-27 09:24:17 +01:00
usmangani1
9894e1785a
Enhancement : Ec2 - Add describe-vpc-endpoint-services method support. ( #3108 )
...
* Enhancement : Ec2 - Add describe-vpc-endpoint-services method support.
* Fix:EC2-describe_vpc_endPoint_services changed the template
* Fixed comments
* Linting
Co-authored-by: usmankb <usman@krazybee.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2020-08-06 06:26:44 +01:00
Cat Cai
528cf0e21d
Run black to fix linting
2019-11-12 14:51:31 -08:00
Cat Cai
9169b87748
Tests pass
2019-11-12 11:16:34 -08:00
Cat Cai
9cb105f5c2
Ensure test is sorted
2019-11-12 10:32:27 -08:00
Cat Cai
3398244f14
Fix styling problems
2019-11-11 12:09:52 -08:00
Wessel van der Veen
6d52cd06cb
Adds support for enable/disable/describe vpc-classic-link-dns-support.
2019-11-11 10:55:09 -08:00
Wessel van der Veen
17cc46b91e
adds basic support for vpc-classic-link
2019-11-11 10:54:36 -08:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Chih-Hsuan Yen
18173a5951
Replace # flake8: noqa
with # noqa
...
The former syntax is actually a mis-use and rejected since Flake8 3.6
[1].
[1] https://gitlab.com/pycqa/flake8/merge_requests/219
2019-10-27 20:41:22 +08:00
Bendegúz Ács
f408709ef9
VPC IPv4 validation ( #2026 )
...
* Implemented throwing invalid subnet range error and fixed breaking tests.
* Implemented throwing invalid CIDR block parameter error for vpcs and subnets.
* Implemented throwing invalid destination CIDR block error.
* IPv6 addresses not accepted, strict checking disabled.
* Implemented throwing invalid subnet conflict error and fixed breaking tests.
* Implemented throwing invalid VPC range error and fixed breaking tests.
* Fixed accidentally removed ).
* Fixed test case trying to create two subnets with the same CIDR range.
2019-05-25 18:35:07 +01:00
Rob Walker
4b3469292a
Enable Extended CIDR Associations on VPC ( #1511 )
...
* Enable Extended CIDR Associations on VPC
* Ooops missed the utils, try to be more flakey?, remove unnecessary part in tests
* try to be even more flakey
2018-03-21 09:10:38 -07:00
Nuwan Goonasekera
ca56955a97
Added invalid id exceptions when filtering vpcs and subnets
2017-09-18 23:38:39 +05:30
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Jason DeTiberus
1045dca7b2
make instanceTenancy configurable for VPCs ( #819 )
...
* make instanceTenancy configurable for VPCs
* fix issue with setting tenenancy
2017-02-08 21:23:49 -05:00
Taro Sato
02324ad708
Add more availability regions and implement default VPC ( #773 )
...
Fix filter name for availability zone
Fix bug assuming dict keys are ordered
Fix tests
Fix tests
Fix bug
2017-01-11 20:37:57 -05:00
Rene Martin
b06d439a81
Set the right dhcp_options id in the response
...
If the vpc has a dhcp_options associated with it the response should
include the right association.
2016-10-08 10:34:55 +01:00
rocky4570fft
0161422d21
additional filters to get_all_vpcs
2016-08-14 16:58:35 +10:00
Yann Lambret
52a5346c9e
Add support for VPC attributes management, and fix a bug about the default - not default status of a VPC
2016-05-12 22:36:09 +02:00
Steve Pulec
c0d19ab178
General cleanup.
2015-03-14 18:55:44 -04:00
Steve Pulec
6c9bba2ca1
Cleanup EC2 classic default security group.
2015-03-14 18:50:41 -04:00
Steve Pulec
68d2db55d4
Add VPC state.
2014-10-12 21:51:12 -04:00
Omer Katz
efa687f41d
Added tag filters to some of the entities.
2014-10-01 16:18:46 +03:00
Omer Katz
298cf65569
Added the ability to filter by tag-value and refactored the filters to be generic.
2014-10-01 15:44:54 +03:00
Omer Katz
444ab96b4f
Added the ability to filter by tag-key.
2014-10-01 15:33:12 +03:00
Omer Katz
8b50844961
Tests will now pass on Python 3.3.
2014-10-01 12:56:32 +03:00
Omer Katz
89bd78b927
Added the ability to filter vpcs by tags.
2014-09-30 17:58:02 +03:00
Omer Katz
ecb23485d0
VPCs can now be filtered by cider block and dhcp options id
2014-09-30 17:29:50 +03:00
Omer Katz
a1be4b7f61
VPCs can now be filtered by id.
2014-09-30 17:08:36 +03:00
Shawn Falkner-Horine
2cf97ef193
VPC: Added default security group upon creation.
2014-09-10 11:15:43 -07:00
David Baumgold
4201e6b430
from __future__ import unicode_literals
2014-08-27 11:33:55 -04:00
Shawn Falkner-Horine
c97417d8e7
Error handling: Model-level validations, proper error responses. (backport assert_raises as context manager for Python 2.6)
2014-08-25 15:09:38 -07:00
Shawn Falkner-Horine
071c03e216
Error handling: Model-level validations, proper error responses.
2014-08-25 10:54:47 -07:00
Steve Pulec
955b4c6c4a
Add tagging to all applicable EC2 objects. Closes #66 .
2014-05-11 19:00:28 -04:00
Steve Pulec
59fe1abfdf
Cleanup flake8
2013-08-03 17:21:25 -04:00
Steve Pulec
584f1f01b6
add vpc commands
2013-03-05 22:33:41 -05:00
Steve Pulec
e993917d4c
pep8
2013-03-05 08:35:18 -05:00
Steve Pulec
27a086409e
adding ec2 stubs
2013-02-21 23:13:01 -05:00