Commit Graph

154 Commits

Author SHA1 Message Date
Brian Pandola
3e90012509
Add StateTransitionReason to ec2:DescribeInstances response (#7495) 2024-03-19 16:51:34 -07:00
Bert Blommers
dea4a98b64 Techdebt: Remove old/deprecated code (#7220) 2024-01-27 19:38:09 +00:00
Bert Blommers
a7f3b367b4 Introduce mock_aws() (#7194) 2024-01-27 19:38:09 +00:00
tungol
55c589072f
Admin: sorting imports with ruff (#7075) 2023-11-30 14:55:51 -01:00
Bert Blommers
aa3770086b
Admin: Support Py 3.12 (#6966) 2023-10-30 19:01:03 -01:00
Bert Blommers
f59e178f27
EC2: Streamline output of run_instances()/describe_instances() (#6906) 2023-10-13 08:05:15 +00:00
Bert Blommers
de714eb4cc
EC2: Validate instance profile before creating Instances (#6905) 2023-10-12 21:25:56 +00:00
Bert Blommers
36f006c32a
EC2: run_instances() now returns the Placement.HostId attribute (#6885) 2023-10-05 07:44:17 +00:00
Bert Blommers
264723d981
Techdebt: Do not load EC2 images unless necessary, to speed things up (#6761) 2023-09-03 14:59:09 +00:00
Pepe Fagoaga
0b4889ad37
feat(ec2): Add Instance Monitoring attribute (#6678) 2023-08-16 21:55:24 +00:00
Bert Blommers
79bd7c5bae
Techdebt: Replace sure with regular assertions in EC2 (#6525) 2023-07-17 09:31:05 +00:00
Bert Blommers
82c0166995
Techdebt: Remove warnings from tests (#6478) 2023-07-04 09:35:31 +00:00
rafcio19
52846c9555
EC2: validate pagination parameters (#6293) 2023-05-09 15:47:15 +00:00
Bert Blommers
5d7d096bed
EC2: describe_instances() should be able to filter by exact tag-values (#5980) 2023-02-25 10:19:28 -01:00
Bert Blommers
78840fd71c
EC2: Simplify DryRun-handling (#5926) 2023-02-14 12:43:28 -01:00
Sami Makki
91157895d4
EC2: Allow providing NIC template when creating several instances (#5887) 2023-01-31 21:21:14 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
rafcio19
1aabd3fd95
EC2: link IAM instance profile with instance (#5617) 2022-10-29 22:06:21 +00:00
Laurie O
8af786ed25
EC2: Correct previous instance state (#5528) 2022-10-04 10:36:39 +00:00
Bobby Impollonia
b8932b19c9
EC2: Use private IP provided via NetworkInterfaces when creating EC2 instance (#5523) (#5524) 2022-10-04 09:21:38 +00:00
Bert Blommers
b9f5ecacde
EC2:run_instances() now validates the provided SecurityGroup (#5486) 2022-09-19 21:34:06 +00:00
Bert Blommers
0d5fdbe554
EC2:run_instances() now supports the HibernationOptions-param (#5386) 2022-08-23 17:22:24 +00:00
Bert Blommers
9e1d78d44e
TechDebt - remove warnings from tests (#5390) 2022-08-17 14:01:22 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
Brian Pandola
f701875334
Fix: KeyName should not be in ec2:DescribeInstances response if value is None (#5347)
AWS does not serialize NULL values.
2022-07-30 14:12:57 -07:00
Brian Pandola
be6e02e5fa
Add key-name filter for ec2:DescribeInstances (#5338) 2022-07-27 00:19:47 -07: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
szopen321
c59583c15b
Add availability zone check on add instance (#5129) 2022-05-16 16:58:14 +00:00
Bert Blommers
3b68be55d3
EC2 - Pass LaunchTemplate tags to new Instances (#5085) 2022-05-01 19:27:25 +00:00
Bert Blommers
10bd677cf2
Admin - enable more Pylint rules (#5037) 2022-04-18 20:44:56 +00:00
Bert Blommers
eafd5f3dbb
EC2:run_instances() - fix bug when supplying the NIC with security groups (#4975) 2022-03-27 14:32:37 +00:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bert Blommers
1d7440914e
EC2:terminate() - fix error message (#4915) 2022-03-07 21:25:35 -01:00
Tim Snyder
ea81377cd0
handle 'NoDevice' parameter in BlockDeviceMappings #4852 (#4853) 2022-02-14 08:37:46 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Bert Blommers
3f966541ce
Feature: EC2 filter-by dnsname (#4759) 2022-01-14 14:20:23 -01:00
Bert Blommers
a1bfb6a48e
EC2 - SubnetId and NetworkInterfaces cannot both be specified when calling run_instances (#4719) 2021-12-24 14:12:57 -01:00
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