Commit Graph

704 Commits

Author SHA1 Message Date
Lyderic Dutillieux
d20da03225
EC2: allow creation multiple flow logs on same resource id (#6374) 2023-06-07 15:44:24 +00:00
Alex Chesters
b7624e10b1
Add CreateTime property to EC2 key pair response (#6341) 2023-05-25 13:55:41 -07:00
Akira Noda
b1b269208c
Add Tags field for describe_spot_fleet_requests response (#6332)
* add tag specifications for request parameters
* add unit test for invalid tag resource type
2023-05-22 13:53:57 -07:00
rafcio19
922ee7edc1
EC2: vpc endpoint as a route target (#6316) 2023-05-12 10:12:36 +00:00
rafcio19
52846c9555
EC2: validate pagination parameters (#6293) 2023-05-09 15:47:15 +00:00
rafcio19
763b582cf2
Fix ami attributes (#6280)
* fix: describe_image attributes

* refactor: unifi attribute logic, add tests

* chore: mypy

* chore: linting

* chore: unused method

* chore: increase coverage
2023-05-04 09:16:22 +00:00
tjohnes
462ff57900
EC2: Implement ReplaceRoute to NetworkInterfaceId (#6236) 2023-04-21 16:12:16 +00:00
Josh Kropf
dc460a3258
EC2: Fix egress rules used in ingress revoke method (#6180) 2023-04-06 18:59:18 +00:00
Lewis Gaul
2667a53725
EC2: Support assigning specified private IP addrs (#6147) 2023-04-03 09:16:31 +00:00
Viren Nadkarni
d0cfddebfd
EC2: Implement GetLaunchTemplateData (#6152)
* EC2: Implement GetLaunchTemplateData

* Update implementation coverage docs

* Fix test
2023-03-30 16:53:26 +01:00
Jordan Sanders
d33fe9e086
Implement CloudFormation Stack deletion for VPCs, Subnets (#6118) 2023-03-24 16:49:03 -01:00
Bert Blommers
53603b01c7
EC2: create_route() should allow overlapping CIDR's (#6106) 2023-03-22 13:07:58 -01:00
Bert Blommers
0d7cec26b7
EC2: Revoke rules without specifying IPProtocol (#6057) 2023-03-12 15:52:15 -01:00
CiolFr
25f0c660f7
EC2: describe_security_group_rules now uses Filter-argument (#6041) 2023-03-11 22:28:16 -01:00
Bert Blommers
adfbff1095
EC2: create_vpc_endpoint() should use default policy document if not provided (#6022) 2023-03-06 23:21:02 -01:00
Viren Nadkarni
a30dbafc93
EC2: DestinationCidrBlock filter for DescribeRouteTables (#5932) 2023-03-06 12:19:23 -01:00
Bert Blommers
f6ead48401
SSM: Include default parameters at /aws/service/ecs/optimized-ami (#6008) 2023-03-04 11:36:00 -01: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
dd240d7c5b
chore: update EC2 Instance Offerings (#5946) 2023-02-19 17:25:54 -01:00
Bert Blommers
418c69f477
Techdebt: MyPy EC2 (#5936) 2023-02-16 20:43:43 -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
339309c9af
EC2: Support Dedicated Hosts (#5878) 2023-01-27 15:27:00 -01:00
Uzair Ali
ba78420314
Feature describe_security_group_rules for ec2 (#5841) 2023-01-17 18:34:41 -01:00
Luuk v/d Maagdenberg
2c47ee10b1
EC2: support $Latest and $Default when describing launch templates (#5822) 2023-01-11 18:31:14 -01:00
Bert Blommers
27a2e42d9b
Admin: Update Docs to point to getmoto (#5826) 2023-01-07 10:35:14 -01:00
Bert Blommers
89fdf9dbcb
Remove Py3.6 support (#5818) 2023-01-06 11:07:20 -01:00
Viren Nadkarni
fb0a4d64c8
EC2: Implement GetPasswordData (#5798) 2022-12-22 09:57:19 -01:00
Hisashi Kamezawa
52891e1641
EC2: Add iops to volume (#5776) 2022-12-16 19:22:55 -01:00
Daniel Roschka
0588db704a
Remove dependency on pytz (#5749) 2022-12-09 22:56:08 -01:00
Viren Nadkarni
4ec748542f
EC2: AllocateAddress fallback domain (#5729) 2022-12-05 20:20:03 -01:00
Viren Nadkarni
08c65a9a3c
EC2: fix launch template names not being reusable after delete (#5726) 2022-12-02 12:17:06 -01:00
Bert Blommers
b4f0fb7137
Prepare release 4.0.11 (#5724) 2022-11-30 20:09:37 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
Marshall Mamiya
f185999602
EC2: Add EnableNetworkAddressUsageMetrics to VPC attribute (#5618) 2022-10-31 21:52:28 -01:00
rafcio19
1aabd3fd95
EC2: link IAM instance profile with instance (#5617) 2022-10-29 22:06:21 +00:00
Brian Pandola
83a60a279d
Implement filter route.vpc-peering-connection-id for DescribeRouteTables (#5601) 2022-10-26 10:03:15 +00:00
Bert Blommers
694ae84bc0
Service: Comprehend (Entity Recognizer) (#5530) 2022-10-04 20:26:17 +00:00
Laurie O
8af786ed25
EC2: Correct previous instance state (#5528) 2022-10-04 10:36:39 +00:00
Laurie O
aefffd7eee
EC2: Match exception to AWS response when describing non-existent EC2 instance types (#5527) 2022-10-04 09:49:47 +00:00
Laurie O
148de0e562
EC2: Support all (current) instance-type filters (#5526) 2022-10-04 09:48:10 +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
f89b52680b
EC2:cancel_spot_fleet_request - Keep instances if Terminate=false (#5516) 2022-10-03 12:30:51 +00:00
Bert Blommers
9340335d73
EC2 availability zones in us-west-1: use A and B (#5515) 2022-10-02 13:03:03 +00:00
Bert Blommers
37c5be725a
EC2: Fix us-west-1 availability zones to b and c (#5513) 2022-10-01 22:33:22 +00:00
Radosław Piliszek
3679521d76
EC2 - Fix 3 issues with route table associations (#5509) 2022-09-30 22:36:55 +00:00
Bert Blommers
aa7d68a688
Feature: Ability to seed Moto, and make random ID's deterministic (#5492) 2022-09-28 09:35:12 +00:00
Bert Blommers
b9f5ecacde
EC2:run_instances() now validates the provided SecurityGroup (#5486) 2022-09-19 21:34:06 +00:00
Timothy Klopotoski
c648c0f957
Add CloudFormation support to EC2 Launch Templates (#5477) 2022-09-16 10:01:43 +00:00
Bert Blommers
0dfb61fbcf
SSM - bootstrap /aws/service/ami-amazon-linux-latest parameters (#5427) 2022-08-28 22:30:11 +00:00
Viren Nadkarni
37fa5f8bf4
EC2: implement ModifyVolumes and DescribeVolumesModifications (#5399) 2022-08-24 09:23:21 +00:00
Bert Blommers
0d5fdbe554
EC2:run_instances() now supports the HibernationOptions-param (#5386) 2022-08-23 17:22:24 +00:00
Felipe Marinho
af5d3f9e30
EC2: Add filter-options to describe_instance_types (#5382) 2022-08-23 14:56:57 +00:00
Felipe Marinho
ccadde5d32
EC2: support launch template tags (#5381) 2022-08-23 14:52:42 +00:00
Bert Blommers
3fbcac5820
Admin - Update static content (#5395) 2022-08-18 10:54:38 +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
Felipe Marinho
f743567789
EC2: Add ec2 fleets basic api (#5367) 2022-08-12 09:33:39 +00:00
Viren Nadkarni
e9c5cb2308
EC2: Generate IDs for all key pairs (#5370) 2022-08-10 21:29:54 +00:00
Johannes Loewe
b40c9760c1
EC2: handle non-existent template name for describe-launch-templates (#5365) 2022-08-10 19:17:30 +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
Guilherme Martins Crocetti
515faca8aa
Add extra keys to EC2 describe-addresses operation (#5306) 2022-07-26 20:39:32 -03:00
Bert Blommers
6d68a5176b
EC2: create_customer_gateway - support PublicIp and IpAddress (#5253) 2022-06-22 21:05:44 +00:00
Michael Merrill
c3f06064ff
feature: handle overlapping routes (#5187) (#5233) 2022-06-15 21:14:29 +00:00
Bert Blommers
e15c16eaed
EC2 - Error when passing in TagSpec with 0 tags (#5216) 2022-06-12 10:15:25 +00:00
Bert Blommers
8a8eaff547
EC2 - create_default_vpc (#5212) 2022-06-10 12:05:10 +00:00
Thomas Rausch
68b93c3b86
add ec2 network-acl egress filter (#5174) 2022-05-29 16:39:19 +00: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
Brian Pandola
ab756c82b8
Add route.gateway-id filter for ec2:DescribeRouteTables (#5155) 2022-05-22 09:43:51 +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
Brian Pandola
f65d3970aa Add Ipv6Native field to ec2:Subnet response templates
This is currently just a placeholder because Moto does not yet fully support
Ipv6 subnets, but it is included in the Ipv4 subnet responses (set to `False`).
2022-05-13 19:39:00 -07:00
Bert Blommers
ac03044c96
EC2:describe_vpc_endpoints() - filter by vpc-endpoint-type (#5110) 2022-05-09 13:06:01 +00:00
Bert Blommers
406ca1d8f9
Admin - Move internal EC2 models (#5090) 2022-05-03 11:40:15 +00:00
Bert Blommers
cb4cbd1f5b
EC2 - Spot Requests improvements (#5087) 2022-05-02 15:00:06 +00:00
Bert Blommers
3b68be55d3
EC2 - Pass LaunchTemplate tags to new Instances (#5085) 2022-05-01 19:27:25 +00:00
Bert Blommers
6b70cd1b6b
EC2 SpotFleetRequests - support LaunchTemplates (#5084) 2022-05-01 13:52:38 +00:00
Bert Blommers
d60df32a25
Upgrade flake8 to 4.x (#5066) 2022-04-27 11:58:59 +00:00
Viren Nadkarni
afe4b3ace9
EC2: More filters for DescribeNetworkAcls (#5049) 2022-04-25 20:14:00 +00:00
Bert Blommers
752eee1941
Autoscaling - create custom BlockDevice in addition to default image block device (#5050) 2022-04-22 15:40:30 +00:00
Bert Blommers
10bd677cf2
Admin - enable more Pylint rules (#5037) 2022-04-18 20:44:56 +00:00
Bert Blommers
48e3cbec99
EC2 - search_transit_gateway_routes -search by CIDR (#5020) 2022-04-11 19:43:33 +00:00
Bert Blommers
43b987427f
Refactor EC2 models into separate files (#5003) 2022-04-04 17:51:11 +00:00
George Lungley
b5f03b0a0e
EC2 - implement network attachments (#4998) 2022-04-04 10:17:22 +00:00
Bert Blommers
cf2690ca1e
Improvements - Autoscaling (#4985) 2022-03-29 21:46:06 +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
f9d116f871
Prepare release 3.1.0 (#4938) 2022-03-12 18:01:42 -01:00
Bert Blommers
eed32a5f72
Pylint - Enable more rules on source and tests-directory (#4929) 2022-03-11 20:28:45 -01: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
Bert Blommers
86e1fe8f1c
CF - Support for VPCEndpoint (#4908) 2022-03-03 21:43:25 -01:00
Tim Snyder
2957a51e4e
refactor scripts/get_amis.py into moto.ec2.utils.gen_moto_amis() (#4867) 2022-02-17 12:38:31 -01:00
Bert Blommers
a7e169a545
EC2 performance improvements (#4855) 2022-02-14 21:40:48 -01:00
Tim Snyder
ea81377cd0
handle 'NoDevice' parameter in BlockDeviceMappings #4852 (#4853) 2022-02-14 08:37:46 -01:00
Daniel Fangl
87dfa2e922
correctly filter describe_managed_prefix_lists, add test for the behavior (#4837) 2022-02-07 18:07:15 -01:00
Edison Gustavo Muenz
32373d2ac5
ec2: Add GpuInfo to describe_instance_types (#4828) 2022-02-07 14:13:50 -01:00
Bert Blommers
2fd6f34060
EC2 - VpcEndpointServiceConfiguration (#4815) 2022-01-30 22:00:26 -01:00
Bert Blommers
d53dd23390
EC2 - create_snapshots (#4767) 2022-01-25 09:27:02 -01:00