SSM: Include default parameters at /aws/service/ecs/optimized-ami (#6008)
This commit is contained in:
parent
8b058d9177
commit
f6ead48401
@ -6,6 +6,7 @@ include moto/ec2/resources/instance_types.json
|
||||
include moto/ec2/resources/instance_type_offerings/*/*.json
|
||||
include moto/ec2/resources/latest_amis/*.json
|
||||
include moto/ec2/resources/amis.json
|
||||
include moto/ec2/resources/ecs/optimized_amis/*.json
|
||||
include moto/cognitoidp/resources/*.json
|
||||
include moto/dynamodb/parsing/reserved_keywords.txt
|
||||
include moto/moto_api/_internal/*
|
||||
@ -13,6 +14,7 @@ include moto/rds/resources/cluster_options/*.json
|
||||
include moto/servicequotas/resources/*/*.json
|
||||
include moto/ssm/resources/*.json
|
||||
include moto/ssm/resources/ami-amazon-linux-latest/*.json
|
||||
include moto/ssm/resources/ecs/optimized_amis/*.json
|
||||
include moto/support/resources/*.json
|
||||
recursive-include moto/moto_server *
|
||||
recursive-include tests *
|
||||
|
@ -159,17 +159,18 @@ class AmiBackend:
|
||||
ami["owner_alias"] = "amazon"
|
||||
self.amis[ami_id] = Ami(self, **ami)
|
||||
if "MOTO_AMIS_PATH" not in environ:
|
||||
try:
|
||||
latest_amis = load_resource(
|
||||
__name__, f"../resources/latest_amis/{self.region_name}.json" # type: ignore[attr-defined]
|
||||
)
|
||||
for ami in latest_amis:
|
||||
ami_id = ami["ami_id"]
|
||||
ami["owner_alias"] = "amazon"
|
||||
self.amis[ami_id] = Ami(self, **ami)
|
||||
except FileNotFoundError:
|
||||
# Will error on unknown (new) regions - just return an empty list here
|
||||
pass
|
||||
for path in ["latest_amis", "ecs/optimized_amis"]:
|
||||
try:
|
||||
latest_amis = load_resource(
|
||||
__name__, f"../resources/{path}/{self.region_name}.json" # type: ignore[attr-defined]
|
||||
)
|
||||
for ami in latest_amis:
|
||||
ami_id = ami["ami_id"]
|
||||
ami["owner_alias"] = "amazon"
|
||||
self.amis[ami_id] = Ami(self, **ami)
|
||||
except FileNotFoundError:
|
||||
# Will error on unknown (new) regions - just return an empty list here
|
||||
pass
|
||||
|
||||
def create_image(
|
||||
self,
|
||||
|
3602
moto/ec2/resources/ecs/optimized_amis/af-south-1.json
Normal file
3602
moto/ec2/resources/ecs/optimized_amis/af-south-1.json
Normal file
File diff suppressed because it is too large
Load Diff
6050
moto/ec2/resources/ecs/optimized_amis/ap-east-1.json
Normal file
6050
moto/ec2/resources/ecs/optimized_amis/ap-east-1.json
Normal file
File diff suppressed because it is too large
Load Diff
7778
moto/ec2/resources/ecs/optimized_amis/ap-northeast-1.json
Normal file
7778
moto/ec2/resources/ecs/optimized_amis/ap-northeast-1.json
Normal file
File diff suppressed because it is too large
Load Diff
6738
moto/ec2/resources/ecs/optimized_amis/ap-northeast-2.json
Normal file
6738
moto/ec2/resources/ecs/optimized_amis/ap-northeast-2.json
Normal file
File diff suppressed because it is too large
Load Diff
2514
moto/ec2/resources/ecs/optimized_amis/ap-northeast-3.json
Normal file
2514
moto/ec2/resources/ecs/optimized_amis/ap-northeast-3.json
Normal file
File diff suppressed because it is too large
Load Diff
7650
moto/ec2/resources/ecs/optimized_amis/ap-south-1.json
Normal file
7650
moto/ec2/resources/ecs/optimized_amis/ap-south-1.json
Normal file
File diff suppressed because it is too large
Load Diff
450
moto/ec2/resources/ecs/optimized_amis/ap-south-2.json
Normal file
450
moto/ec2/resources/ecs/optimized_amis/ap-south-2.json
Normal file
@ -0,0 +1,450 @@
|
||||
[
|
||||
{
|
||||
"ami_id": "ami-07557bf2405fb1920",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221010 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221010-amazon-ecs-optimized",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0eb6188d630e1874d",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221115 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221115-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-047a2531eab0f2264",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221230 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221230-amazon-ecs-optimized",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-00cd879d458b963ec",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221010 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221010-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0a5289f784e045fb0",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221102 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221102-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0dabf4ad9223de7fd",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230127-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c26ce0ba637b9a22",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230109-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0b88ec6cc70aae19c",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230127-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-02c0732b156c152dd",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230214-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0b95ed63754d0b513",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221230 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221230-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-05973eca7aa7b4efa",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230127-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-00d7a5ed450394c75",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221207 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221207-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-07d57ba42afc2480e",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221118 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221118-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-088fc486cfd5e82f1",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230109-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-080e939008d487272",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221213 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221213-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-06f0a6a7bfa719404",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221025 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221025-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-09165fd045596bdc3",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221207 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221207-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0d9038b3bcc792b88",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20230214 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20230214-amazon-ecs-optimized",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-046702f8466972cbd",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221118 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221118-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-068ba8d9dfbad7985",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230109-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-048f8e6cdddb169b2",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230214-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f2e0bc2b4eef0b11",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221230 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221230-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0e827b837b39bb880",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221213 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221213-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-08e36c6f80c61adc9",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230214-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0e0c7ad40d0336284",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230109-x86_64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0e99a7667a39df9eb",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230127-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0283dd419ed66f874",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221115 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221115-amazon-ecs-optimized",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0a2853be5699775f0",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230214-arm64-ebs",
|
||||
"owner_id": "296569632912",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
}
|
||||
]
|
7346
moto/ec2/resources/ecs/optimized_amis/ap-southeast-1.json
Normal file
7346
moto/ec2/resources/ecs/optimized_amis/ap-southeast-1.json
Normal file
File diff suppressed because it is too large
Load Diff
7778
moto/ec2/resources/ecs/optimized_amis/ap-southeast-2.json
Normal file
7778
moto/ec2/resources/ecs/optimized_amis/ap-southeast-2.json
Normal file
File diff suppressed because it is too large
Load Diff
1346
moto/ec2/resources/ecs/optimized_amis/ap-southeast-3.json
Normal file
1346
moto/ec2/resources/ecs/optimized_amis/ap-southeast-3.json
Normal file
File diff suppressed because it is too large
Load Diff
6690
moto/ec2/resources/ecs/optimized_amis/ca-central-1.json
Normal file
6690
moto/ec2/resources/ecs/optimized_amis/ca-central-1.json
Normal file
File diff suppressed because it is too large
Load Diff
7762
moto/ec2/resources/ecs/optimized_amis/eu-central-1.json
Normal file
7762
moto/ec2/resources/ecs/optimized_amis/eu-central-1.json
Normal file
File diff suppressed because it is too large
Load Diff
450
moto/ec2/resources/ecs/optimized_amis/eu-central-2.json
Normal file
450
moto/ec2/resources/ecs/optimized_amis/eu-central-2.json
Normal file
@ -0,0 +1,450 @@
|
||||
[
|
||||
{
|
||||
"ami_id": "ami-07b478bd9c99dc014",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230127-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-057bcc51248953f78",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221115 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221115-arm64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0b97ffbafa0c8f7e5",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221213 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221213-arm64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0247766fa51a00d6a",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230214-arm64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-03086acb5c8a87e60",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20220921 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20220921-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-046e4d87da74d4cb1",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230214-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f669dd98ed834e26",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221025 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221025-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0a1e8e571c4abbed1",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230109-arm64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-036d784398837ed22",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221230 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221230-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-045fbce771d60681b",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230214-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-052054a2ce6be80e1",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221010 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221010-amazon-ecs-optimized",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0224ead0df868fe01",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221230 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221230-amazon-ecs-optimized",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-08ed9dddd16328a21",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221102 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221102-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-09485e02f4a80271d",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230214-arm64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0525ccd6a33eb84c5",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230109-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-077742dad74cd2a8a",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20230214 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20230214-amazon-ecs-optimized",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0d2d64451d3e2a16c",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221207 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221207-arm64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f554ef973a79ae3b",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221115 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221115-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f38118459f491148",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221207 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221207-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0dda817b0de437042",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230127-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-054f6f3ebcd61eb79",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221115 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221115-amazon-ecs-optimized",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-03e984cf4fa1eee98",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221118 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221118-arm64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-01567ac9733913a49",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221213 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221213-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0424108b6e72afd96",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221118 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221118-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0d961d5dd3f8e016e",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221010 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221010-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-01a074882db79e5dd",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230109-arm64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-00afbe6c31512f3fd",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230109-x86_64-ebs",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0caca9b31a6b6ee4a",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20220921 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20220921-amazon-ecs-optimized",
|
||||
"owner_id": "434623702375",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
}
|
||||
]
|
6434
moto/ec2/resources/ecs/optimized_amis/eu-north-1.json
Normal file
6434
moto/ec2/resources/ecs/optimized_amis/eu-north-1.json
Normal file
File diff suppressed because it is too large
Load Diff
4946
moto/ec2/resources/ecs/optimized_amis/eu-south-1.json
Normal file
4946
moto/ec2/resources/ecs/optimized_amis/eu-south-1.json
Normal file
File diff suppressed because it is too large
Load Diff
530
moto/ec2/resources/ecs/optimized_amis/eu-south-2.json
Normal file
530
moto/ec2/resources/ecs/optimized_amis/eu-south-2.json
Normal file
@ -0,0 +1,530 @@
|
||||
[
|
||||
{
|
||||
"ami_id": "ami-09a81696bd003d9af",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20230214 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20230214-amazon-ecs-optimized",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0b4fd440052dd8ae9",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221230 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221230-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-00a0749734ceb1b11",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221115 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221115-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-07594d2bda7c05005",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221207 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221207-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-071c2c0a2032e665c",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221118 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221118-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-031b8534fb4a5db70",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221115 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221115-amazon-ecs-optimized",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-08094d141795d3032",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221230 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221230-amazon-ecs-optimized",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0bff31cb66171167c",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230214-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f81f1f5e30515b46",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230214-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c6ce1956dfd170ea",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221010 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221010-amazon-ecs-optimized",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-05397395f1d858f1c",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221118 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221118-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-075495ada7b9683a2",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230127-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c49badd2cc9a71f3",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221115 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221115-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c8043806e9891996",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230127-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-06a29140d098e583c",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221213 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221213-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0b442915d4dc26348",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230109-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-06fe0b0bdb94e6422",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221213 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221213-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-092862115f7a6c45f",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20220921 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20220921-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0751917cdb21b1f8f",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230127-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-08bcc1e8cca3976b3",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221230 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221230-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-08c0e4def594dd2e4",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230109-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f350a811a097fcda",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230127-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0cb45bd9b7313312f",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230214-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0160ce256fcd8f2f2",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230109-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0a82a79721e0883d4",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221102 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221102-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c1391d064ceeaa9c",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230214-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-00f15e53755be2f5e",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221025 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221025-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-055b3914e909e5b0a",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221207 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221207-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0a77bdadc28cbf24d",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221010 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221010-x86_64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0e0c0a546c5083324",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230109-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-02a1844ab50f20447",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221025 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221025-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-05dea98f126e0d72f",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221102 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221102-arm64-ebs",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c148effa433a4cb8",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20220921 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20220921-amazon-ecs-optimized",
|
||||
"owner_id": "878116103691",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
}
|
||||
]
|
7906
moto/ec2/resources/ecs/optimized_amis/eu-west-1.json
Normal file
7906
moto/ec2/resources/ecs/optimized_amis/eu-west-1.json
Normal file
File diff suppressed because it is too large
Load Diff
6722
moto/ec2/resources/ecs/optimized_amis/eu-west-2.json
Normal file
6722
moto/ec2/resources/ecs/optimized_amis/eu-west-2.json
Normal file
File diff suppressed because it is too large
Load Diff
6722
moto/ec2/resources/ecs/optimized_amis/eu-west-3.json
Normal file
6722
moto/ec2/resources/ecs/optimized_amis/eu-west-3.json
Normal file
File diff suppressed because it is too large
Load Diff
882
moto/ec2/resources/ecs/optimized_amis/me-central-1.json
Normal file
882
moto/ec2/resources/ecs/optimized_amis/me-central-1.json
Normal file
@ -0,0 +1,882 @@
|
||||
[
|
||||
{
|
||||
"ami_id": "ami-077cb32e946920475",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230127-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0dbd91d4d8bac69f1",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230214-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-07f99a2fe3a44e60b",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2022.0.20230127 arm64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20230127-kernel-5.15-arm64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0db97e36d95f26874",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221207 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221207-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f25dfe2fedebbaba",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221025 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221025-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-002902317f3c5e5f9",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221118 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221118-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0339f89764d339feb",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221213 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221213-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-04e45417d5fabfac9",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230127-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-07b3fb7c56cc5ef7d",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20220822 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20220822-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-03d19c1410cc0d0d9",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20220921 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20220921-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c77e938910113526",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221213 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221213-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c3236b09a01c024e",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2022.0.20221213 arm64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20221213-kernel-5.15-arm64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-08f5ecc89d621c769",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221025 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221025-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0154ff14c2fb0f24a",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221207 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221207-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-031ed49e1e66cccfd",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221115 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221115-amazon-ecs-optimized",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-02dfb220df2ddda0b",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230109-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0cb419df1641ff684",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221010 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221010-amazon-ecs-optimized",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-03f65b7160d83a07f",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2022.0.20221102 x86_64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20221102-kernel-5.15-x86_64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0d081579d8234921e",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221010 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221010-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0503abcb9621da8f4",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221230 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221230-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0e5db7124c7727601",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221115 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221115-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0e8e0e8889ddf2c87",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20220831 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20220831-amazon-ecs-optimized",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0d1066a407c3c3132",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221118 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221118-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0657e16b7ebf40fe7",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230109-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-01503e380b0db3044",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20220822 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20220822-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c876620144d47719",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2022.0.20221102 arm64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20221102-kernel-5.15-arm64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0d346f5225adfb08e",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2022.0.20230109 x86_64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20230109-kernel-5.15-x86_64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0e3128b929f16b8fa",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2022.0.20221207 x86_64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20221207-kernel-5.15-x86_64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0d5eaf70cf19ee11f",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221010 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221010-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f9a3f6e26671acda",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20220831 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20220831-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f9ffac96f33562da",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2022.0.20221213 x86_64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20221213-kernel-5.15-x86_64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-05aaa5020261eb2d4",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20221230 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20221230-amazon-ecs-optimized",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-05d53d4605d5f3fa2",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230214-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0dded65d4f6058124",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221102 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221102-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0493cb851fb32c6ff",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20220831 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20220831-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-094cea0e923783ee2",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230109-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0623b3ddbf84e5923",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20220627 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20220627-amazon-ecs-optimized",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-051230e5bf5693780",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2022.0.20221230 arm64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20221230-kernel-5.15-arm64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-001ebe46a4fb5a78a",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20220630 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20220630-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0c66d47469e1a0726",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20220630 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-gpu-hvm-2.0.20220630-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f44f6b13afe081be",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2022.0.20221207 arm64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20221207-kernel-5.15-arm64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-053dcc7d2a7a0cd30",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20220921 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20220921-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-05bb62ab8f5cdcee8",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221230 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221230-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-038cb7c6f89281709",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2022.0.20221230 x86_64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20221230-kernel-5.15-x86_64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-07516381a9091e110",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230109 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230109-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-089d4d8aa8998c0c1",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20220627 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20220627-amazon-ecs-optimized",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-07ddc7aa1d537725f",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230214-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f93c3ba757f36bfe",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20221115 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221115-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0f63b7e30bdbcec14",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230214 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20230214-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0204a46d09efddaf9",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 Kernel 5.10 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230127-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-064f35db1e3185ae4",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2022.0.20230127 x86_64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20230127-kernel-5.15-x86_64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0cbea5d378fdd6d7b",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2022.0.20230109 arm64 ECS HVM EBS",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "al2022-ami-ecs-hvm-2022.0.20230109-kernel-5.15-arm64",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0d0a743ef30aa6e64",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI 2.0.20230127 Kernel 5.10 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-kernel-5.10-hvm-2.0.20230127-x86_64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0136dbdfd95d7ef11",
|
||||
"architecture": "x86_64",
|
||||
"description": "Amazon Linux AMI amzn-ami-2018.03.20230214 x86_64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn-ami-2018.03.20230214-amazon-ecs-optimized",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
},
|
||||
{
|
||||
"ami_id": "ami-0a8bd6636ad9fb036",
|
||||
"architecture": "arm64",
|
||||
"description": "Amazon Linux AMI 2.0.20221102 arm64 ECS HVM GP2",
|
||||
"hypervisor": "xen",
|
||||
"image_type": "machine",
|
||||
"name": "amzn2-ami-ecs-hvm-2.0.20221102-arm64-ebs",
|
||||
"owner_id": "661356072305",
|
||||
"platform": null,
|
||||
"public": true,
|
||||
"root_device_name": "/dev/xvda",
|
||||
"root_device_type": "ebs",
|
||||
"sriov": "simple",
|
||||
"state": "available",
|
||||
"virtualization_type": "hvm"
|
||||
}
|
||||
]
|
5586
moto/ec2/resources/ecs/optimized_amis/me-south-1.json
Normal file
5586
moto/ec2/resources/ecs/optimized_amis/me-south-1.json
Normal file
File diff suppressed because it is too large
Load Diff
7090
moto/ec2/resources/ecs/optimized_amis/sa-east-1.json
Normal file
7090
moto/ec2/resources/ecs/optimized_amis/sa-east-1.json
Normal file
File diff suppressed because it is too large
Load Diff
8002
moto/ec2/resources/ecs/optimized_amis/us-east-1.json
Normal file
8002
moto/ec2/resources/ecs/optimized_amis/us-east-1.json
Normal file
File diff suppressed because it is too large
Load Diff
7906
moto/ec2/resources/ecs/optimized_amis/us-east-2.json
Normal file
7906
moto/ec2/resources/ecs/optimized_amis/us-east-2.json
Normal file
File diff suppressed because it is too large
Load Diff
7170
moto/ec2/resources/ecs/optimized_amis/us-west-1.json
Normal file
7170
moto/ec2/resources/ecs/optimized_amis/us-west-1.json
Normal file
File diff suppressed because it is too large
Load Diff
7986
moto/ec2/resources/ecs/optimized_amis/us-west-2.json
Normal file
7986
moto/ec2/resources/ecs/optimized_amis/us-west-2.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -47,15 +47,35 @@ class ParameterDict(defaultdict):
|
||||
# each value is a list of all of the versions for a parameter
|
||||
# to get the current value, grab the last item of the list
|
||||
super().__init__(list)
|
||||
self.parameters_loaded = False
|
||||
self.latest_amis_loaded = False
|
||||
self.latest_region_defaults_loaded = False
|
||||
self.latest_service_defaults_loaded = False
|
||||
self.latest_ecs_amis_loaded = False
|
||||
self.account_id = account_id
|
||||
self.region_name = region_name
|
||||
|
||||
def _check_loading_status(self, key):
|
||||
if not self.parameters_loaded and key and str(key).startswith("/aws"):
|
||||
self._load_global_parameters()
|
||||
key = str(key or "")
|
||||
if key.startswith("/aws/service/ami-amazon-linux-latest"):
|
||||
if not self.latest_amis_loaded:
|
||||
self._load_latest_amis()
|
||||
self.latest_amis_loaded = True
|
||||
if key.startswith("/aws/service/global-infrastructure/regions"):
|
||||
if not self.latest_region_defaults_loaded:
|
||||
self._load_tree_parameters(path="resources/regions.json")
|
||||
self.latest_region_defaults_loaded = True
|
||||
if key.startswith("/aws/service/global-infrastructure/services"):
|
||||
if not self.latest_service_defaults_loaded:
|
||||
self._load_tree_parameters(path="resources/services.json")
|
||||
self.latest_service_defaults_loaded = True
|
||||
if key.startswith("/aws/service/ecs/optimized-ami"):
|
||||
if not self.latest_ecs_amis_loaded:
|
||||
self._load_tree_parameters(
|
||||
f"resources/ecs/optimized_amis/{self.region_name}.json"
|
||||
)
|
||||
self.latest_ecs_amis_loaded = True
|
||||
|
||||
def _load_global_parameters(self):
|
||||
def _load_latest_amis(self):
|
||||
try:
|
||||
latest_amis_linux = load_resource(
|
||||
__name__, f"resources/ami-amazon-linux-latest/{self.region_name}.json"
|
||||
@ -78,11 +98,12 @@ class ParameterDict(defaultdict):
|
||||
data_type=param["DataType"],
|
||||
)
|
||||
)
|
||||
regions = load_resource(__name__, "resources/regions.json")
|
||||
services = load_resource(__name__, "resources/services.json")
|
||||
params = []
|
||||
params.extend(convert_to_params(regions))
|
||||
params.extend(convert_to_params(services))
|
||||
|
||||
def _load_tree_parameters(self, path: str):
|
||||
try:
|
||||
params = convert_to_params(load_resource(__name__, path))
|
||||
except FileNotFoundError:
|
||||
params = []
|
||||
|
||||
for param in params:
|
||||
last_modified_date = time.time()
|
||||
@ -105,7 +126,6 @@ class ParameterDict(defaultdict):
|
||||
data_type="text",
|
||||
)
|
||||
)
|
||||
self.parameters_loaded = True
|
||||
|
||||
def _get_secretsmanager_parameter(self, secret_name):
|
||||
secrets_backend = secretsmanager_backends[self.account_id][self.region_name]
|
||||
|
10964
moto/ssm/resources/ecs/optimized_amis/af-south-1.json
Normal file
10964
moto/ssm/resources/ecs/optimized_amis/af-south-1.json
Normal file
File diff suppressed because it is too large
Load Diff
17970
moto/ssm/resources/ecs/optimized_amis/ap-east-1.json
Normal file
17970
moto/ssm/resources/ecs/optimized_amis/ap-east-1.json
Normal file
File diff suppressed because it is too large
Load Diff
21108
moto/ssm/resources/ecs/optimized_amis/ap-northeast-1.json
Normal file
21108
moto/ssm/resources/ecs/optimized_amis/ap-northeast-1.json
Normal file
File diff suppressed because it is too large
Load Diff
19288
moto/ssm/resources/ecs/optimized_amis/ap-northeast-2.json
Normal file
19288
moto/ssm/resources/ecs/optimized_amis/ap-northeast-2.json
Normal file
File diff suppressed because it is too large
Load Diff
9418
moto/ssm/resources/ecs/optimized_amis/ap-northeast-3.json
Normal file
9418
moto/ssm/resources/ecs/optimized_amis/ap-northeast-3.json
Normal file
File diff suppressed because it is too large
Load Diff
20884
moto/ssm/resources/ecs/optimized_amis/ap-south-1.json
Normal file
20884
moto/ssm/resources/ecs/optimized_amis/ap-south-1.json
Normal file
File diff suppressed because it is too large
Load Diff
2216
moto/ssm/resources/ecs/optimized_amis/ap-south-2.json
Normal file
2216
moto/ssm/resources/ecs/optimized_amis/ap-south-2.json
Normal file
File diff suppressed because it is too large
Load Diff
20352
moto/ssm/resources/ecs/optimized_amis/ap-southeast-1.json
Normal file
20352
moto/ssm/resources/ecs/optimized_amis/ap-southeast-1.json
Normal file
File diff suppressed because it is too large
Load Diff
21108
moto/ssm/resources/ecs/optimized_amis/ap-southeast-2.json
Normal file
21108
moto/ssm/resources/ecs/optimized_amis/ap-southeast-2.json
Normal file
File diff suppressed because it is too large
Load Diff
6236
moto/ssm/resources/ecs/optimized_amis/ap-southeast-3.json
Normal file
6236
moto/ssm/resources/ecs/optimized_amis/ap-southeast-3.json
Normal file
File diff suppressed because it is too large
Load Diff
19204
moto/ssm/resources/ecs/optimized_amis/ca-central-1.json
Normal file
19204
moto/ssm/resources/ecs/optimized_amis/ca-central-1.json
Normal file
File diff suppressed because it is too large
Load Diff
21080
moto/ssm/resources/ecs/optimized_amis/eu-central-1.json
Normal file
21080
moto/ssm/resources/ecs/optimized_amis/eu-central-1.json
Normal file
File diff suppressed because it is too large
Load Diff
2216
moto/ssm/resources/ecs/optimized_amis/eu-central-2.json
Normal file
2216
moto/ssm/resources/ecs/optimized_amis/eu-central-2.json
Normal file
File diff suppressed because it is too large
Load Diff
18756
moto/ssm/resources/ecs/optimized_amis/eu-north-1.json
Normal file
18756
moto/ssm/resources/ecs/optimized_amis/eu-north-1.json
Normal file
File diff suppressed because it is too large
Load Diff
16082
moto/ssm/resources/ecs/optimized_amis/eu-south-1.json
Normal file
16082
moto/ssm/resources/ecs/optimized_amis/eu-south-1.json
Normal file
File diff suppressed because it is too large
Load Diff
2576
moto/ssm/resources/ecs/optimized_amis/eu-south-2.json
Normal file
2576
moto/ssm/resources/ecs/optimized_amis/eu-south-2.json
Normal file
File diff suppressed because it is too large
Load Diff
21332
moto/ssm/resources/ecs/optimized_amis/eu-west-1.json
Normal file
21332
moto/ssm/resources/ecs/optimized_amis/eu-west-1.json
Normal file
File diff suppressed because it is too large
Load Diff
19260
moto/ssm/resources/ecs/optimized_amis/eu-west-2.json
Normal file
19260
moto/ssm/resources/ecs/optimized_amis/eu-west-2.json
Normal file
File diff suppressed because it is too large
Load Diff
19260
moto/ssm/resources/ecs/optimized_amis/eu-west-3.json
Normal file
19260
moto/ssm/resources/ecs/optimized_amis/eu-west-3.json
Normal file
File diff suppressed because it is too large
Load Diff
4238
moto/ssm/resources/ecs/optimized_amis/me-central-1.json
Normal file
4238
moto/ssm/resources/ecs/optimized_amis/me-central-1.json
Normal file
File diff suppressed because it is too large
Load Diff
17200
moto/ssm/resources/ecs/optimized_amis/me-south-1.json
Normal file
17200
moto/ssm/resources/ecs/optimized_amis/me-south-1.json
Normal file
File diff suppressed because it is too large
Load Diff
19904
moto/ssm/resources/ecs/optimized_amis/sa-east-1.json
Normal file
19904
moto/ssm/resources/ecs/optimized_amis/sa-east-1.json
Normal file
File diff suppressed because it is too large
Load Diff
21544
moto/ssm/resources/ecs/optimized_amis/us-east-1.json
Normal file
21544
moto/ssm/resources/ecs/optimized_amis/us-east-1.json
Normal file
File diff suppressed because it is too large
Load Diff
21332
moto/ssm/resources/ecs/optimized_amis/us-east-2.json
Normal file
21332
moto/ssm/resources/ecs/optimized_amis/us-east-2.json
Normal file
File diff suppressed because it is too large
Load Diff
20044
moto/ssm/resources/ecs/optimized_amis/us-west-1.json
Normal file
20044
moto/ssm/resources/ecs/optimized_amis/us-west-1.json
Normal file
File diff suppressed because it is too large
Load Diff
21472
moto/ssm/resources/ecs/optimized_amis/us-west-2.json
Normal file
21472
moto/ssm/resources/ecs/optimized_amis/us-west-2.json
Normal file
File diff suppressed because it is too large
Load Diff
98
scripts/ssm_get_optimized_amis.py
Normal file
98
scripts/ssm_get_optimized_amis.py
Normal file
@ -0,0 +1,98 @@
|
||||
import time
|
||||
import json
|
||||
from datetime import timezone
|
||||
from pathlib import Path
|
||||
|
||||
import boto3
|
||||
import botocore
|
||||
|
||||
from moto.core.utils import unix_time
|
||||
from moto.ec2.utils import gen_moto_amis
|
||||
from moto.ssm.utils import convert_to_tree
|
||||
|
||||
session = boto3.Session()
|
||||
|
||||
|
||||
def retrieve_by_path(client, path):
|
||||
print("Attempting to retrieve data for path={}", path)
|
||||
response = client.get_parameters_by_path(Path=path, Recursive=True)
|
||||
parameters = response["Parameters"]
|
||||
next_token = response["NextToken"]
|
||||
while next_token:
|
||||
response = client.get_parameters_by_path(Path=path, Recursive=True, NextToken=next_token)
|
||||
parameters.extend(response["Parameters"])
|
||||
next_token = response.get("NextToken")
|
||||
|
||||
return parameters
|
||||
|
||||
def save_to_file(destination_path: str, params: dict):
|
||||
print("Attempting to save data to {}", destination_path)
|
||||
file_path = Path(Path.cwd(), destination_path)
|
||||
file_path.parent.mkdir(exist_ok=True, parents=True)
|
||||
|
||||
with file_path.open("w") as fb:
|
||||
json.dump(params, fb, sort_keys=True, indent=2)
|
||||
|
||||
|
||||
def retrieve_ec2_data(image_ids: list, region: str):
|
||||
ec2_client = session.client("ec2", region_name=region)
|
||||
|
||||
images = ec2_client.describe_images(ImageIds=image_ids)["Images"]
|
||||
|
||||
return gen_moto_amis(images)
|
||||
|
||||
|
||||
def main():
|
||||
"""
|
||||
Retrieve the latest AMI-details from SSM
|
||||
- Download from AWS
|
||||
- Store this in the dedicated moto/ssm/resources-folder
|
||||
"""
|
||||
for region in session.get_available_regions("ssm"):
|
||||
ssm_client = session.client('ssm', region_name=region)
|
||||
|
||||
default_param_path = "/aws/service/ecs/optimized-ami"
|
||||
|
||||
# Retrieve default AMI values
|
||||
try:
|
||||
print("Retrieving data for {}" , region)
|
||||
|
||||
parameters = retrieve_by_path(ssm_client, default_param_path)
|
||||
|
||||
if not parameters:
|
||||
continue
|
||||
|
||||
image_ids = []
|
||||
|
||||
for param in parameters:
|
||||
param["LastModifiedDate"] = unix_time(param["LastModifiedDate"].astimezone(timezone.utc).replace(tzinfo=None))
|
||||
|
||||
if isinstance(param["Value"], str) and param["Value"][0] == "{":
|
||||
param["Value"] = json.loads(param["Value"])
|
||||
image_ids.append(param["Value"]["image_id"])
|
||||
|
||||
# We can recreate these params
|
||||
param.pop("DataType", None)
|
||||
param.pop("Type", None)
|
||||
param.pop("ARN", None)
|
||||
|
||||
image_ids = list(set(image_ids))
|
||||
|
||||
tree = convert_to_tree(parameters)
|
||||
|
||||
destination_path = f"moto/ssm/resources/ecs/optimized_amis/{region}.json"
|
||||
save_to_file(destination_path, tree)
|
||||
|
||||
# Retrieve details about AMIs from EC2
|
||||
image_as_dicts = retrieve_ec2_data(image_ids, region)
|
||||
destination_path = f"moto/ec2/resources/ecs/optimized_amis/{region}.json"
|
||||
save_to_file(destination_path, image_as_dicts)
|
||||
|
||||
time.sleep(0.5)
|
||||
except botocore.exceptions.ClientError as e:
|
||||
print(e)
|
||||
# We might encounter an error if we do not have access to a region - just ignore and try the next region
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
@ -841,7 +841,7 @@ def test_filter_description():
|
||||
Owners=["amazon"],
|
||||
Filters=[{"Name": "description", "Values": ["Amazon Linux AMI*"]}],
|
||||
)["Images"]
|
||||
resp.should.have.length_of(9)
|
||||
len(resp).should.be.greater_than(9)
|
||||
|
||||
# Search for full description
|
||||
resp = client.describe_images(
|
||||
|
@ -23,6 +23,16 @@ def test_ssm_get_by_path():
|
||||
pacific.should.have.key("LastModifiedDate")
|
||||
|
||||
|
||||
@mock_ssm
|
||||
def test_global_infrastructure_services():
|
||||
client = boto3.client("ssm", region_name="us-west-1")
|
||||
path = "/aws/service/global-infrastructure/services"
|
||||
params = client.get_parameters_by_path(Path=path)["Parameters"]
|
||||
params[0]["Name"].should.equal(
|
||||
"/aws/service/global-infrastructure/services/accessanalyzer"
|
||||
)
|
||||
|
||||
|
||||
@mock_ssm
|
||||
def test_ssm_region_query():
|
||||
client = boto3.client("ssm", region_name="us-west-1")
|
||||
|
19
tests/test_ssm/test_ssm_ecs_images.py
Normal file
19
tests/test_ssm/test_ssm_ecs_images.py
Normal file
@ -0,0 +1,19 @@
|
||||
import boto3
|
||||
import sure # noqa # pylint: disable=unused-import
|
||||
|
||||
from moto import mock_ec2, mock_ssm
|
||||
|
||||
|
||||
@mock_ec2
|
||||
@mock_ssm
|
||||
def test_ssm_get_latest_ami_by_path():
|
||||
ssm = boto3.client("ssm", region_name="us-east-1")
|
||||
path = "/aws/service/ecs/optimized-ami"
|
||||
params = ssm.get_parameters_by_path(Path=path, Recursive=True)["Parameters"]
|
||||
params.should.have.length_of(10)
|
||||
|
||||
ec2 = boto3.client("ec2", region_name="us-east-1")
|
||||
for param in params:
|
||||
if "Value" in param and isinstance(param["Value"], dict):
|
||||
ami = param["Value"]["image_id"]
|
||||
ec2.describe_images(ImageIds=[ami])["Images"].should.have.length_of(1)
|
Loading…
Reference in New Issue
Block a user