Bert Blommers
ecd8d2478f
EC2:describe_instances() - allow filter for vpc_id within NIC ( #4448 )
2021-10-20 16:14:06 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules ( #4432 )
2021-10-18 19:44:29 +00:00
Bert Blommers
deeabfc6e5
EC2 - Implement DryRun-flag on various operations ( #4420 )
2021-10-15 22:43:00 +00:00
Bert Blommers
b95bda11f3
EC2 - Bugfix where associate_public_ip was always True ( #4404 )
2021-10-13 09:57:39 +00:00
Bert Blommers
8526013e61
Parallelize tests - Part 1 ( #4368 )
2021-10-05 17:11:07 +00:00
Jonathan Piché
2db85d0e54
#4298 // fix warning when image id from template if specified ( #4356 )
2021-09-27 20:00:29 +00:00
Bert Blommers
939b800e96
Rewrite deprecated EC2 tests ( #3881 )
2021-09-25 11:13:07 +00:00
Steven Davidovitz
d56a3989eb
EC2 - instance lifecycle defaults to None when not using spot ( #4321 )
2021-09-22 16:32:30 +00:00
Bert Blommers
4e7153c655
EC2 - DryRun-requests should return 412 status code ( #4270 )
2021-09-07 17:10:01 +01:00
Brian Pandola
a1e415ec03
Support alternate EC2:ModifyInstanceAttribute request syntax ( #4234 )
2021-08-28 07:04:15 +01:00
Brian Pandola
1db3e0e9b9
Raise error when attempting to terminate protected ec2 instance ( #4199 )
2021-08-19 06:47:05 +01:00
Brian Pandola
27c9b31d3a
Fix ec2 wildcard tag filters ( #4189 )
2021-08-18 06:02:19 +01:00
Bert Blommers
7693d77333
Remove Py2 support ( #3915 )
2021-07-26 07:40:39 +01:00
Brian Pandola
16f4dc87dc
Add support for tagging Volumes in ec2:RunInstances ( #3946 )
2021-05-21 06:35:34 +01:00
tony-dot-sh
9feabf5479
Enhancement: implement EC2 instance filtering by subnet-id
( #3694 )
...
Co-authored-by: Tony Greising-Murschel <tony@platform.sh>
2021-02-15 16:38:40 +00:00
Bert Blommers
737636f9df
Tech debt ( #3653 )
2021-02-02 16:31:26 +00:00
Brian Pandola
f4b81e69b8
Address pytest warnings ( #3629 )
...
* Address `boto` deprecation warnings
This commit eliminates the following warning:
../boto/ec2/connection.py:582:
PendingDeprecationWarning: The current get_all_instances implementation will be replaced with get_all_reservations.
`boto` isn't likely to ever make good on this warning, but doing the replacement will
declutter the `moto` test output.
* Remove `invoke_lambda` tracebacks from unit test logging
If an exception is encountered, the details are returned in the response payload.
Printing the traceback was just adding noise to the pytest output.
* Use known AMIs in unit tests
This commit eliminates the following warning in the pytest output:
`PendingDeprecationWarning: Could not find AMI with image-id:ami-123456, in the near future this will cause an error.`
Known, pre-loaded AMI image ids are used instead of random ids that don't actually
exist in the moto backend. The integrity of the tests is unaffected by this change.
A test has been added to provide explicit coverage of the PendingDeprecationWarning
raised when an invalid AMI image id is passed to moto.
2021-01-29 11:31:56 +00:00
Brian Pandola
98d79dca97
Address boto
deprecation warnings ( #3616 )
...
This commit eliminates the following warning (of which there are currently dozens):
../boto/ec2/connection.py:582:
PendingDeprecationWarning: The current get_all_instances implementation will be replaced with get_all_reservations.
`boto` isn't likely to ever make good on this warning, but doing the replacement will
declutter the `moto` test output.
2021-01-26 14:07:19 +00:00
Bert Blommers
77dd35e3b8
Use known ImageID in internal tests ( #3555 )
2021-01-13 09:02:11 +00:00
Bert Blommers
273ca63d59
Linting
2020-11-11 15:55:37 +00:00
Matěj Cepl
5697ff87a8
Back to Black
2020-11-10 14:12:38 +01: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
Bert Blommers
db1d7123f6
List dependencies for services - add integration test to verify
2020-09-13 16:08:23 +01:00
Karthikeyan Singaravelan
3fb7cf75d4
Fix deprecation warning due to base64.decodestring in Python 3. ( #3272 )
2020-09-02 11:10:29 +01:00
usmangani1
552b1294df
Fix : EC2 - Added ownerId filter for describe instances ( #3149 )
...
* Fix : EC2 - Added ownerId filter for describe instances
* linting
2020-07-19 10:44:58 +01:00
Maxim Kirilov
610bf36f3b
Improve parsing of string values that represents booleans during block device mapping construction ( #3073 )
...
* convert str into bool
* Fix python2
* Fix python2
* pylint
2020-06-16 06:03:02 +01:00
Maxim Kirilov
2320e82647
Add support for detaching volumes upon instance termination ( #2999 )
2020-05-24 12:22:45 +01:00
Maxim Kirilov
1e0a7380d5
Add support for BlockDeviceMappings argument ( #2949 )
...
* Add support for BlockDeviceMappings argument upon run_instances execution
* Remove redundant check for Ebs existence
2020-05-11 13:23:45 +01:00
Steve Pulec
fbc431dbff
Merge pull request #2837 from bblommers/bug/2810
...
EC2 - Explicitly set ebs_optimized to false if not specified
2020-04-25 18:44:48 -05:00
Steve Pulec
9c3f6c7592
Merge pull request #2825 from bblommers/feature/2699
...
EC2 - Add option to add volumes using CloudFormation
2020-04-25 18:36:26 -05:00
Mike Grima
bdeeeb701a
Merge pull request #2880 from bblommers/bugfix/2877
...
EC2 - Ensure NCI always has a Subnet
2020-04-16 15:02:45 -07:00
Bert Blommers
5c7e0b56af
#2877 - Ensure NetworkInterfaces are assigned to the default Subnet
2020-04-08 13:53:53 +01:00
Bert Blommers
aae49493c4
Linting
2020-04-07 08:52:37 +01:00
usmankb
81ca5c3ab0
Implemented describe_instance_credit_specifications function in ec2 #2150 localstack
2020-04-06 21:25:59 +05:30
Bert Blommers
11526ced18
#2810 - EC2 - Explicitly set ebs_optimized to False if not specified
2020-03-24 09:24:38 +00:00
Bert Blommers
5b596c8a78
#2699 - EC2 - Add Volumes using CloudFormation
2020-03-20 15:17:55 +00:00
Bert Blommers
3aeb5f5043
Linting
2020-02-24 13:43:58 +00:00
Bert Blommers
939bd1cd86
EC2 - Add some filters for describe_instance_status
2020-02-24 13:43:19 +00:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
acsbendi
7de0ef0f8b
Fixed value is present in response even if it's None.
2019-07-05 15:24:16 +02:00
acsbendi
0b88dd1efb
Fixed security group IDs not returned correctly.
2019-07-05 15:12:38 +02:00
acsbendi
7215b00466
Created test case for describe_instance_attribute.
2019-07-05 13:43:47 +02:00
David
868d0107bf
Autoscaling instance azs ( #2030 )
...
* Add instance AZ support in autoscaling
* Resolve py36-py27 format string error in test_autoscaling
2019-05-25 11:18:16 +01:00
acsbendi
6bd7e5941f
Added test case for running multiple instances in the same command.
2019-01-15 17:34:22 +01:00
Archa91
474023f9a1
fix EC2 instances ebsOptimized not handled ( #1340 )
...
* fix EC2 instances ebsOptimized not handled
* add test_create_instance_ebs_optimized
2017-11-14 14:31:54 +00:00
Terry Cain
bd8c1e4567
adding owner id to amis v2 ( #1331 )
...
* Adding owner-id/OwnerId to the AMI classes to allow the value to be specified to test filtering images based on owner.
* Added default AMIs and filtering by owner-id
* Fixed some tests
* Fixed more random tests
* Updated MANIFEST
* .
2017-11-12 11:18:25 +00:00
Terry Cain
9ddf7fe436
Fixed some tests.
...
Some subnets were bogus so fixed that. Fixed issue where EC2-Classic was not respected.
RDS Deepcopy was breaking on subnet generator
2017-10-25 19:29:56 +01:00
Terry Cain
5b0e463554
Fixed a few ip issues
...
Fixes #1175
2017-10-24 23:57:43 +01:00
Terry Cain
f3623e3cd3
Fix for #1258 ( #1260 )
...
* Fix for #1258
* Updated doc link
2017-10-12 13:59:02 -07:00