diff --git a/MANIFEST.in b/MANIFEST.in index 117dd0720..16002563f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,11 +4,13 @@ include moto/config/resources/aws_managed_rules.json include moto/ec2/_models/*.py 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/cognitoidp/resources/*.json include moto/dynamodb/parsing/reserved_keywords.txt include moto/moto_api/_internal/* include moto/ssm/resources/*.json +include moto/ssm/resources/ami-amazon-linux-latest/*.json include moto/support/resources/*.json recursive-include moto/moto_server * recursive-include tests * diff --git a/moto/ec2/models/amis.py b/moto/ec2/models/amis.py index b262ef018..f4cc37471 100644 --- a/moto/ec2/models/amis.py +++ b/moto/ec2/models/amis.py @@ -154,6 +154,17 @@ class AmiBackend: # owner_alias is required for terraform owner filters ami["owner_alias"] = "amazon" self.amis[ami_id] = Ami(self, **ami) + try: + latest_amis = load_resource( + __name__, f"../resources/latest_amis/{self.region_name}.json" + ) + 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, diff --git a/moto/ec2/resources/latest_amis/af-south-1.json b/moto/ec2/resources/latest_amis/af-south-1.json new file mode 100644 index 000000000..8b4722f08 --- /dev/null +++ b/moto/ec2/resources/latest_amis/af-south-1.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-01159c14433b9e114", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-01f141d4fd38e0bf2", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0416c5673155612ba", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-04f95a4a3609e4cf3", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b28d68e6103bedf2", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-04ced1c4b09b27fb1", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-09513eb71477f1d9b", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d6c3f61bfcaeb759", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00a42c329aca6239a", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0fd55618ad668f2a9", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00a45e16508ceefa7", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-03e103f4fa337ce81", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-01f87ded581dd08b1", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a95606a564813828", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-086a1a8bcb58948ee", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "210953353124", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/ap-east-1.json b/moto/ec2/resources/latest_amis/ap-east-1.json new file mode 100644 index 000000000..8a5200dad --- /dev/null +++ b/moto/ec2/resources/latest_amis/ap-east-1.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-0dd3c7186fef7b3b1", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a1c2b8f4faf1aad4", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0cc6e6ab3ec4634bb", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f6b3e4242c6690f2", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c9b27a951ed2051b", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06611cbd13b26371f", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-08ac0d755e3ab23f5", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c563cc249297114e", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-051ec00661c466b27", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06ebdc88fdaf6372f", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-031a40f74a2bdb496", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-01174e0118c296c37", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0abd2c896a28752ed", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0bde156f825d4ab02", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c1d5a98de68acf64", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "910595266909", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/ap-northeast-1.json b/moto/ec2/resources/latest_amis/ap-northeast-1.json new file mode 100644 index 000000000..cf1d27fc2 --- /dev/null +++ b/moto/ec2/resources/latest_amis/ap-northeast-1.json @@ -0,0 +1,274 @@ +[ + { + "ami_id": "ami-03d8867e445983192", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0f36dcfcc94112ea1", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0133608f2c9cccd07", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-04ccd87feab64ad39", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-05827d651478a7791", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0963f25a30973a61a", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-061f024082760d353", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b069de314c9ab4c4", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c44a2acf4122f7d7", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0087d47be4361ea08", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0952cc7975c1408ec", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0dc2c99454361d63b", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-02087d6f3ccd8073f", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0296ebdd03c95964c", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-071b23ebd395846d3", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a534632cb62ea128", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-022b0a1c51d8329d4", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/ap-northeast-2.json b/moto/ec2/resources/latest_amis/ap-northeast-2.json new file mode 100644 index 000000000..8c1aed7c2 --- /dev/null +++ b/moto/ec2/resources/latest_amis/ap-northeast-2.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-01d87646ef267ccd7", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0742ae0bc6a8a9de0", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0195879cb58a44eca", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-081bbde66d94a18fa", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-03159e41d5c4d0a31", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-01194638ea947b661", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-081a7e0e287c0059b", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d5ed17b26b3fb180", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-083981c5b0740046d", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06849af79b37cb6f5", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c501dbf1131cb15e", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-066d41d96fc160063", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-08b2ee059a3d55ee0", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-060ba0ad6ad5716c9", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-027f044612d7121b0", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/ap-northeast-3.json b/moto/ec2/resources/latest_amis/ap-northeast-3.json new file mode 100644 index 000000000..b6f69409d --- /dev/null +++ b/moto/ec2/resources/latest_amis/ap-northeast-3.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-08c37feab245648e8", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0996e8e04bf149889", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-077e920b9d78d696c", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0cf754cc7cb5eca6b", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ddf56cca48942d5c", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f32fde82dd7c56a5", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00d7ff299ded74625", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f30623807b2f7c3a", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-004ddfd599a2b885b", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-04f2675a55ac108da", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-089b2beceb9ced534", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d6b1ecb50d1069aa", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f661e3c76db1ad75", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a7dba5bd077d8fc1", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-02c9b38e494b8411b", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/ap-south-1.json b/moto/ec2/resources/latest_amis/ap-south-1.json new file mode 100644 index 000000000..dd7ff2e25 --- /dev/null +++ b/moto/ec2/resources/latest_amis/ap-south-1.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-032b3c2df9b63cdef", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-04599c47636100141", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e18b1d379af4e263", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-05c7bbdb2cb5bc02f", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d0e84be91cc35306", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0aa85f09b8a5f6b8c", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0acf1469999692d4a", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0fc81ccb6d411c58b", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e03fdf4f0e4542d4", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b1a7da2321865b2e", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-085f6b955743bf0ec", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0bae359eecc93092b", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d511c0096f18c59c", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06489866022e12a14", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-068cda7597e78094b", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/ap-southeast-1.json b/moto/ec2/resources/latest_amis/ap-southeast-1.json new file mode 100644 index 000000000..891367d70 --- /dev/null +++ b/moto/ec2/resources/latest_amis/ap-southeast-1.json @@ -0,0 +1,274 @@ +[ + { + "ami_id": "ami-09f534826ba230b66", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0294896114b69806f", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-05465ed4133f4f04c", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-013586750d303f89d", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-03c3ea8440c51b201", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-05c751e7f8ddf3247", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06ff0688bb09a8864", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0943d29a502683a9e", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0350750121e6e335c", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0008599ae05cdfeb8", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-00bc9ff22673aa25b", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b89f7b3f054b957e", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0aefafb4fb54882ac", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e64281826ea08b9e", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-01932a7681a85ccd5", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b401c0eb6f4631bc", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e50e3f9e217865a4", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/ap-southeast-2.json b/moto/ec2/resources/latest_amis/ap-southeast-2.json new file mode 100644 index 000000000..9e2388035 --- /dev/null +++ b/moto/ec2/resources/latest_amis/ap-southeast-2.json @@ -0,0 +1,274 @@ +[ + { + "ami_id": "ami-05eac7cfa39c1e4bf", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-086b79b1dc942722e", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-03b335ca56bb8b99a", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0386a9a8686c51695", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-038b8000bff142ccc", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-005751ff1e2a0425c", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-05805b49abf7d69c4", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f6730ce131750f48", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0336d88ead51a9210", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0763db6bf651a4851", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0f18530afdf50e2cf", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-064f016bd6570e60b", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00c643188f2c4159b", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ce7d477f775dd668", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00fdb24828509782b", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-034a785cdab7f6489", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b55fc9b052b03618", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/ca-central-1.json b/moto/ec2/resources/latest_amis/ca-central-1.json new file mode 100644 index 000000000..d88311aca --- /dev/null +++ b/moto/ec2/resources/latest_amis/ca-central-1.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-025cac8e77542e15b", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-041b8ba43220d3d92", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-049acb493572b37a7", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d822892092eec2ce", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b3a2d9264db347bf", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-085e7db889bbcdf90", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06b0bb707079eb96a", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0cf212f18314c46d0", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0dc02d7c19b1956fe", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0300c413e2de1804e", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-074a73ec0408601c4", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-040339185ea02295c", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-065ab3db2b1fde8a5", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ea3c1c3bcde82f98", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0463527f07939f08c", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/eu-central-1.json b/moto/ec2/resources/latest_amis/eu-central-1.json new file mode 100644 index 000000000..b26c1a431 --- /dev/null +++ b/moto/ec2/resources/latest_amis/eu-central-1.json @@ -0,0 +1,274 @@ +[ + { + "ami_id": "ami-0d46c67fe41e5d399", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-08d7c8a4e9c511008", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d5ec2ce1a99d68ec", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0854da2f8540b70a2", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ec8696a68a31710b", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0965af9995b3a878f", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0dec34430252847af", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-03dc305d22c9e3414", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e2031728ef69a466", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-08baf19005f1bbfeb", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0872ea47efc1cee46", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0fe2279ca5a5abcb2", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-041e64b0129bffca9", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-063d4e60e9c5f9aed", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a5dbc028abd4cd18", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-099c86c7b99c72b36", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b8c4ad91276b271a", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/eu-north-1.json b/moto/ec2/resources/latest_amis/eu-north-1.json new file mode 100644 index 000000000..208474ed6 --- /dev/null +++ b/moto/ec2/resources/latest_amis/eu-north-1.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-01f6ea424a4df90ff", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a271b0a1ed34f95c", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c3bc7afaae23cf64", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-002dade21e7104b8c", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-09826f866501c9d94", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b87edaa84d7c45ce", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0cb0c6fa5a3c56cc0", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-078e13ebe3b027f1c", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00ca53272a3025ad4", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-09412a13ca182279b", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0283128fc079c285a", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e968b158afae4460", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-03fa5349c5d79d19f", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-036cfaa2b85115c81", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b5abe960ff064784", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/eu-south-1.json b/moto/ec2/resources/latest_amis/eu-south-1.json new file mode 100644 index 000000000..f4d35033f --- /dev/null +++ b/moto/ec2/resources/latest_amis/eu-south-1.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-050337bca5279f628", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06beae21e62330dd0", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-028e49f3db62d6f12", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-07c49ccf0f131c114", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-08b16adb81d5ad3f9", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0739f911a8ed98302", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0927b6fb55cd3ed6b", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-02162ce1403e0c589", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-010a48b2b311e7a14", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-066a6f2772aeb21c1", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-096943d559b909b1f", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-07a10ce489fece5f8", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0be7dd43ffe002211", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-08592936a60273c79", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-01693d07de24b64bf", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "071630900071", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/eu-west-1.json b/moto/ec2/resources/latest_amis/eu-west-1.json new file mode 100644 index 000000000..a0dacddb7 --- /dev/null +++ b/moto/ec2/resources/latest_amis/eu-west-1.json @@ -0,0 +1,274 @@ +[ + { + "ami_id": "ami-050149524d9316f7b", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c48a21be09754b97", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-037bde7013647d23a", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-090bde41ad80ef226", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0982468c744d2c66e", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f3f3b564fd6695ff", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-09e2d756e7d78558d", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-04f1357f10c9ba1ab", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0a75cdf5a0c1ca3e4", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-031e673bb67051333", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0dd3a3853fdd6d881", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-038e9cdc714b15936", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-095953584db9869f0", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-004280f55acf7448b", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a55887786a13ae31", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-060eb637bf1b52199", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-05223a36a9748498d", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/eu-west-2.json b/moto/ec2/resources/latest_amis/eu-west-2.json new file mode 100644 index 000000000..3be3e03f2 --- /dev/null +++ b/moto/ec2/resources/latest_amis/eu-west-2.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-0b873e8eeea16d522", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d97fa13ebda706b8", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0def4286af35bc966", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f4cfddc441d6120b", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-03944c40a45d7a31d", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ef21c992a41ee4ff", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00785f4835c6acf64", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f159438099230245", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f3c00eabcb182bbb", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06290d0872e939755", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0068cf332346ae926", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06294e0fa9f10d1f4", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c496e8bea496ed67", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-09185ed014c94f88f", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b8b4d4dfd648aebc", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/eu-west-3.json b/moto/ec2/resources/latest_amis/eu-west-3.json new file mode 100644 index 000000000..3c2f93984 --- /dev/null +++ b/moto/ec2/resources/latest_amis/eu-west-3.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-093641b607b5145ad", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-09d2e5f499c96f3ec", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-08b612668d46bfdb1", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0eb375f24fdf647b8", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0be768ac537ef39dd", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a6e0b073af596c8f", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-02d5563690b37db84", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-018cd60f547831040", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b0956a2e2d6d331a", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b06d669a250dd998", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d1bc83ed7d7456df", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e9ca48e27e192f4f", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-002e2b155689f6e23", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0137ebc190cac16f5", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e0d3ede1da0fa3d0", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/me-south-1.json b/moto/ec2/resources/latest_amis/me-south-1.json new file mode 100644 index 000000000..bb145fec0 --- /dev/null +++ b/moto/ec2/resources/latest_amis/me-south-1.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-0b3b92c249db8e8ef", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-01cbb5e0afe310efe", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d03d1ac87e8ebd3c", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d71e908cdbfebb72", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-041b608cf2af138c0", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-08d49dc145efafdeb", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-07692ba4da7f96377", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-090a20e93e6698582", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-017348d7ab12a9787", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0434928122ea77caf", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-09de21fae030fc4ff", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0fa34a51167765b3c", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-03776c676dd3d41bc", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00f33808a83293945", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b662d4778a12f3f8", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "656109587541", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/sa-east-1.json b/moto/ec2/resources/latest_amis/sa-east-1.json new file mode 100644 index 000000000..fdf66c96c --- /dev/null +++ b/moto/ec2/resources/latest_amis/sa-east-1.json @@ -0,0 +1,274 @@ +[ + { + "ami_id": "ami-03616356ac6a80d87", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0340adf4c92b5d794", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a486f640486c6c8c", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0a5a2d5258e4b706c", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ffc91990a785820b", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-019feb3fdf875486d", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c8b7d0a4552c702e", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-058f4e20c17271f68", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f201e6bf801f666d", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06e9415c3372121a2", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e12779a43e90b7ac", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ac3651b5851f2451", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-020c31de785f7b68a", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-07350b0d9fcd949c0", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0aca10934d525a6f0", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-005fe0a1690561be2", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00b2509167673fc24", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/us-east-1.json b/moto/ec2/resources/latest_amis/us-east-1.json new file mode 100644 index 000000000..f6b21c37b --- /dev/null +++ b/moto/ec2/resources/latest_amis/us-east-1.json @@ -0,0 +1,274 @@ +[ + { + "ami_id": "ami-05577ed0e20b23acc", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e960bfa90cdd7bf9", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f294c25b5bc4aee5", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-074486b1d20c07979", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0e355715ed988f2c9", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-07386c6c3224d1795", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0bb85ecb87fe01c2f", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d7f0c109d5c67a92", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-09d6dff71c75d903e", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b9d78a673552de50", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0242b87a4c950e92d", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ce2788479a7838e0", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-05fa00d4c63e32376", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-02538f8925e3aa27a", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-035f2e069578f71e4", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ff3578f8df132330", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-05f3141013eebdc12", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/us-east-2.json b/moto/ec2/resources/latest_amis/us-east-2.json new file mode 100644 index 000000000..b5b133eff --- /dev/null +++ b/moto/ec2/resources/latest_amis/us-east-2.json @@ -0,0 +1,242 @@ +[ + { + "ami_id": "ami-007f7c9e2bafe6b0b", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e76b3de1dbf12866", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c825ab7f1a18fb91", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f452f66199b06141", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0568773882d492fc8", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-077b14a1b72efdd17", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-06bd8a892430d6442", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-041c6323ff1898a17", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-021db184a41184936", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ee5c62243ab25259", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-04ed2b27d86c17f09", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0982771dfb2d7e51f", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c2c49ef9470c91e9", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-024a56c3b615774ff", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0da7236b7a69cf265", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/us-west-1.json b/moto/ec2/resources/latest_amis/us-west-1.json new file mode 100644 index 000000000..b20921eef --- /dev/null +++ b/moto/ec2/resources/latest_amis/us-west-1.json @@ -0,0 +1,274 @@ +[ + { + "ami_id": "ami-08b83c17eb5834a05", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-094bf1c3c5cd1093f", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-07e39cde436e94511", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0ec9bc5ebf8f304f7", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-081e29ba5ac97f6ed", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0019ad94c6124959d", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f10d032efbb0d021", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-018d291ca9ffc002f", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b4659d78cb302fd7", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0b591b790e74edd1c", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0e160620e695cfbd6", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f0c6dd67e57eb7da", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-02ef4b916ab622f0a", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f36e12deb25112d9", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0d3e509ea6406b8f7", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-01e9194b4ab509f10", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0266bbea3330d8d4d", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ec2/resources/latest_amis/us-west-2.json b/moto/ec2/resources/latest_amis/us-west-2.json new file mode 100644 index 000000000..20b326451 --- /dev/null +++ b/moto/ec2/resources/latest_amis/us-west-2.json @@ -0,0 +1,274 @@ +[ + { + "ami_id": "ami-044a07d99d6a2456d", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0015056c86dde26ad", + "architecture": "arm64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 arm64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-arm64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c549295094513d48", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0b09ce6bd886e714e", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0c2ab3b8efb09f272", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0f51d4d93d5bee36b", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-00413793e4d8a02c8", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0836fa93bff9c68f3", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 Minimal HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-minimal-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-03b37382c2a32d427", + "architecture": "x86_64", + "description": "Amazon Linux 2 Kernel 5.10 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-07d59d159373b8030", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0511840b1d7ac1aca", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-hvm-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-007f5e3fbf79a5931", + "architecture": "x86_64", + "description": "Amazon Linux 2 AMI 2.0.20220805.0 x86_64 HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-07c02c38124bd75bd", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 Kernel 5.10 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-kernel-5.10-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0401f0c3aba47c977", + "architecture": "x86_64", + "description": "Amazon Linux 2022 AMI 2022.0.20220824.0 x86_64 HVM kernel-5.15", + "hypervisor": "xen", + "image_type": "machine", + "name": "al2022-ami-2022.0.20220824.0-kernel-5.15-x86_64", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-0bbda02f23a4a8964", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 HVM gp2", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-hvm-2.0.20220805.0-arm64-gp2", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + }, + { + "ami_id": "ami-01dee3410bbc2b116", + "architecture": "x86_64", + "description": "Amazon Linux AMI 2018.03.0.20220802.0 x86_64 Minimal PV ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn-ami-minimal-pv-2018.03.0.20220802.0-x86_64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/sda1", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "paravirtual" + }, + { + "ami_id": "ami-0bbf2e1c392f97510", + "architecture": "arm64", + "description": "Amazon Linux 2 LTS Arm64 AMI 2.0.20220805.0 arm64 Minimal HVM ebs", + "hypervisor": "xen", + "image_type": "machine", + "name": "amzn2-ami-minimal-hvm-2.0.20220805.0-arm64-ebs", + "owner_id": "137112412989", + "platform": null, + "public": true, + "root_device_name": "/dev/xvda", + "root_device_type": "ebs", + "sriov": "simple", + "state": "available", + "virtualization_type": "hvm" + } +] \ No newline at end of file diff --git a/moto/ssm/models.py b/moto/ssm/models.py index 77846f1cc..af2900228 100644 --- a/moto/ssm/models.py +++ b/moto/ssm/models.py @@ -59,6 +59,28 @@ class ParameterDict(defaultdict): self._load_global_parameters() def _load_global_parameters(self): + try: + latest_amis_linux = load_resource( + __name__, f"resources/ami-amazon-linux-latest/{self.region_name}.json" + ) + except FileNotFoundError: + latest_amis_linux = [] + for param in latest_amis_linux: + name = param["Name"] + super().__getitem__(name).append( + Parameter( + account_id=self.account_id, + name=name, + value=param["Value"], + parameter_type=param["Type"], + description=None, + allowed_pattern=None, + keyid=None, + last_modified_date=param["LastModifiedDate"], + version=param["Version"], + data_type=param["DataType"], + ) + ) regions = load_resource(__name__, "resources/regions.json") services = load_resource(__name__, "resources/services.json") params = [] diff --git a/moto/ssm/resources/ami-amazon-linux-latest/af-south-1.json b/moto/ssm/resources/ami-amazon-linux-latest/af-south-1.json new file mode 100644 index 000000000..a04787837 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/af-south-1.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552437.969, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0d6c3f61bfcaeb759", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552439.271, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0d6c3f61bfcaeb759", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552438.94, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-01f141d4fd38e0bf2", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552440.21, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-01f141d4fd38e0bf2", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197752.349, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-01159c14433b9e114", + "Version": 32 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197753.3, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-00a42c329aca6239a", + "Version": 32 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197753.608, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0534988b2dd71dee5", + "Version": 32 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196667.252, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-01f87ded581dd08b1", + "Version": 42 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196667.582, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-04f95a4a3609e4cf3", + "Version": 42 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196668.876, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0fd55618ad668f2a9", + "Version": 34 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552438.294, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-04ced1c4b09b27fb1", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552439.582, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-04ced1c4b09b27fb1", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552439.9, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0b28d68e6103bedf2", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197752.672, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-03e103f4fa337ce81", + "Version": 32 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197752.981, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0b74d3cb4b95227c7", + "Version": 32 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196666.92, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-00a45e16508ceefa7", + "Version": 34 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196667.911, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-086a1a8bcb58948ee", + "Version": 22 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196668.226, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0a95606a564813828", + "Version": 22 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196668.552, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-09513eb71477f1d9b", + "Version": 22 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196669.202, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0416c5673155612ba", + "Version": 42 + }, + { + "ARN": "arn:aws:ssm:af-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552438.616, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0b28d68e6103bedf2", + "Version": 8 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/ap-east-1.json b/moto/ssm/resources/ami-amazon-linux-latest/ap-east-1.json new file mode 100644 index 000000000..66e59bb72 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/ap-east-1.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552411.909, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-031a40f74a2bdb496", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552412.288, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-08ac0d755e3ab23f5", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552412.478, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-06ebdc88fdaf6372f", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197604.554, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0cc6e6ab3ec4634bb", + "Version": 39 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197605.108, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0bde156f825d4ab02", + "Version": 39 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197605.293, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0ec592455be1f89f5", + "Version": 39 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196675.124, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0a1c2b8f4faf1aad4", + "Version": 52 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196675.314, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-051ec00661c466b27", + "Version": 52 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196675.68, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0abd2c896a28752ed", + "Version": 21 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196676.041, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0c563cc249297114e", + "Version": 33 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552412.097, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0c9b27a951ed2051b", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552412.672, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-031a40f74a2bdb496", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552412.85, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0c9b27a951ed2051b", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552413.037, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-08ac0d755e3ab23f5", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552413.221, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-06ebdc88fdaf6372f", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197604.741, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-06611cbd13b26371f", + "Version": 39 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197604.934, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0a1eeedbd036bee3b", + "Version": 39 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196674.931, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-01174e0118c296c37", + "Version": 33 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196675.492, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0f6b3e4242c6690f2", + "Version": 21 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196675.861, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0c1d5a98de68acf64", + "Version": 21 + }, + { + "ARN": "arn:aws:ssm:ap-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196676.22, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0dd3c7186fef7b3b1", + "Version": 52 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/ap-northeast-1.json b/moto/ssm/resources/ami-amazon-linux-latest/ap-northeast-1.json new file mode 100644 index 000000000..197224905 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/ap-northeast-1.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552732.959, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-022b0a1c51d8329d4", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552732.632, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-04ccd87feab64ad39", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197963.955, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0dc2c99454361d63b", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197964.134, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0963f25a30973a61a", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197964.285, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0b82ae6b27d414455", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197964.632, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-06f68eb7cd94ecc63", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197264.07, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-02087d6f3ccd8073f", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197264.286, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0133608f2c9cccd07", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197264.466, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0b069de314c9ab4c4", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197264.811, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-071b23ebd395846d3", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552732.3, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-022b0a1c51d8329d4", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552732.457, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-061f024082760d353", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552733.321, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-04ccd87feab64ad39", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197964.458, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0c44a2acf4122f7d7", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197964.805, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0087d47be4361ea08", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197964.958, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-08cb77dbde046d342", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197965.31, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-0323903c031e30a1c", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197264.627, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-05827d651478a7791", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197265.003, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0f36dcfcc94112ea1", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197265.16, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0952cc7975c1408ec", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552732.117, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0296ebdd03c95964c", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552732.806, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0296ebdd03c95964c", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552733.137, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-061f024082760d353", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197965.148, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-03d8867e445983192", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197265.34, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0a534632cb62ea128", + "Version": 72 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/ap-northeast-2.json b/moto/ssm/resources/ami-amazon-linux-latest/ap-northeast-2.json new file mode 100644 index 000000000..a6368a5a9 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/ap-northeast-2.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552735.118, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-081a7e0e287c0059b", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552734.758, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0742ae0bc6a8a9de0", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197966.492, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-01194638ea947b661", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197966.686, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0d5ed17b26b3fb180", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197966.865, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0e52c86d9d2f7e7a2", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197967.227, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-01148a7e481f1bc67", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197266.949, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-03159e41d5c4d0a31", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197267.152, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-060ba0ad6ad5716c9", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197267.342, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-066d41d96fc160063", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197267.709, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-06849af79b37cb6f5", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552734.183, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-083981c5b0740046d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552734.385, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-081a7e0e287c0059b", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552734.943, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-083981c5b0740046d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552734.57, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-027f044612d7121b0", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552735.29, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-027f044612d7121b0", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552735.466, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0742ae0bc6a8a9de0", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197967.045, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-08b2ee059a3d55ee0", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197267.53, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0c501dbf1131cb15e", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197267.892, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-01d87646ef267ccd7", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197268.071, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0195879cb58a44eca", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197268.247, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-081bbde66d94a18fa", + "Version": 72 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/ap-northeast-3.json b/moto/ssm/resources/ami-amazon-linux-latest/ap-northeast-3.json new file mode 100644 index 000000000..a76b72a80 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/ap-northeast-3.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552736.928, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0f661e3c76db1ad75", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552736.657, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-077e920b9d78d696c", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197968.313, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-08c37feab245648e8", + "Version": 26 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197968.465, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0d6b1ecb50d1069aa", + "Version": 26 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197968.608, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-06ef1a4c61390830f", + "Version": 26 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197968.891, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0cfd36ba88a453138", + "Version": 26 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197269.867, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0996e8e04bf149889", + "Version": 38 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197270.021, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-004ddfd599a2b885b", + "Version": 38 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197270.167, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-00d7ff299ded74625", + "Version": 38 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197270.455, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0f30623807b2f7c3a", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552736.217, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0a7dba5bd077d8fc1", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552736.368, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0f661e3c76db1ad75", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552736.791, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0a7dba5bd077d8fc1", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552736.506, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0f32fde82dd7c56a5", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552737.065, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0f32fde82dd7c56a5", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552737.211, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-077e920b9d78d696c", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197968.752, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0ddf56cca48942d5c", + "Version": 26 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197270.301, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-04f2675a55ac108da", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197270.599, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-089b2beceb9ced534", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197270.739, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0cf754cc7cb5eca6b", + "Version": 38 + }, + { + "ARN": "arn:aws:ssm:ap-northeast-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197270.887, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-02c9b38e494b8411b", + "Version": 38 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/ap-south-1.json b/moto/ssm/resources/ami-amazon-linux-latest/ap-south-1.json new file mode 100644 index 000000000..aca93b3bf --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/ap-south-1.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552739.686, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-085f6b955743bf0ec", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552739.173, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0b1a7da2321865b2e", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197970.417, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0acf1469999692d4a", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197970.679, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-05c7bbdb2cb5bc02f", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197970.94, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-088f3aee205a0a7b2", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197971.461, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0ca2412ced52ca7ae", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197272.737, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0fc81ccb6d411c58b", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197273.005, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0d0e84be91cc35306", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197273.267, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-068cda7597e78094b", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197273.785, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-04599c47636100141", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552738.399, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0aa85f09b8a5f6b8c", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552738.659, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-085f6b955743bf0ec", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552739.43, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0aa85f09b8a5f6b8c", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552738.914, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0e03fdf4f0e4542d4", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552739.935, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0e03fdf4f0e4542d4", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552740.189, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0b1a7da2321865b2e", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197971.201, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0bae359eecc93092b", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197273.523, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0e18b1d379af4e263", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197274.04, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-06489866022e12a14", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197274.299, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-032b3c2df9b63cdef", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:ap-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197274.556, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0d511c0096f18c59c", + "Version": 72 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/ap-southeast-1.json b/moto/ssm/resources/ami-amazon-linux-latest/ap-southeast-1.json new file mode 100644 index 000000000..e3e9b2029 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/ap-southeast-1.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552742.386, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0e50e3f9e217865a4", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552741.963, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0350750121e6e335c", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197972.901, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0943d29a502683a9e", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197973.121, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-06ff0688bb09a8864", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197973.338, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0644873e62669e289", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197973.745, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-096be21f47abccc2c", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197276.211, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-05465ed4133f4f04c", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197276.429, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-00bc9ff22673aa25b", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197276.661, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-013586750d303f89d", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197277.096, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0aefafb4fb54882ac", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552741.512, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0e50e3f9e217865a4", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552741.73, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0b401c0eb6f4631bc", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552742.816, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0350750121e6e335c", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197973.543, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-09f534826ba230b66", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197973.966, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0008599ae05cdfeb8", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197974.179, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-0059b7b9d522b7a0d", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197974.612, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-0d663ce16157a90e3", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197276.884, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0e64281826ea08b9e", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197277.32, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0b89f7b3f054b957e", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197277.532, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-03c3ea8440c51b201", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552741.281, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-01932a7681a85ccd5", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552742.175, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-01932a7681a85ccd5", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552742.593, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0b401c0eb6f4631bc", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197974.393, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0294896114b69806f", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197277.744, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-05c751e7f8ddf3247", + "Version": 73 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/ap-southeast-2.json b/moto/ssm/resources/ami-amazon-linux-latest/ap-southeast-2.json new file mode 100644 index 000000000..395a59742 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/ap-southeast-2.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552744.783, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-064f016bd6570e60b", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552744.401, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0f6730ce131750f48", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197976.041, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0386a9a8686c51695", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197976.246, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-05805b49abf7d69c4", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197976.453, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-017896a12c124f468", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197976.873, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0f10449b92ffcfcfb", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197279.46, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0f18530afdf50e2cf", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197279.669, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-00c643188f2c4159b", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197279.863, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0336d88ead51a9210", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197280.245, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-034a785cdab7f6489", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552744.011, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-064f016bd6570e60b", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552744.206, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-05eac7cfa39c1e4bf", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552745.161, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0f6730ce131750f48", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197976.65, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-005751ff1e2a0425c", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197977.079, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-03b335ca56bb8b99a", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197977.29, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-096e139f65c6d57b1", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197977.69, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-0074c514bce3a0526", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197280.063, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-00fdb24828509782b", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197280.438, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0b55fc9b052b03618", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197280.639, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0ce7d477f775dd668", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552743.801, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-086b79b1dc942722e", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552744.592, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-086b79b1dc942722e", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552744.981, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-05eac7cfa39c1e4bf", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197977.487, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0763db6bf651a4851", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ap-southeast-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197280.835, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-038b8000bff142ccc", + "Version": 72 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/ap-southeast-3.json b/moto/ssm/resources/ami-amazon-linux-latest/ap-southeast-3.json new file mode 100644 index 000000000..5627571d8 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/ap-southeast-3.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552766.223, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0b4659d78cb302fd7", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552766.03, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-081e29ba5ac97f6ed", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198000.525, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0f0c6dd67e57eb7da", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661198000.588, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0f10d032efbb0d021", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198000.673, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-09e747de04c8097d8", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198000.818, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-00abe7c37bf7e315d", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197308.223, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0f36e12deb25112d9", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197308.298, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0b591b790e74edd1c", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197308.377, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0019ad94c6124959d", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197308.533, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0ec9bc5ebf8f304f7", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552765.878, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0b4659d78cb302fd7", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552765.95, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-07e39cde436e94511", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552766.379, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-081e29ba5ac97f6ed", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198000.739, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-094bf1c3c5cd1093f", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198000.89, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-01e9194b4ab509f10", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198000.957, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-04c6a77e0b8e6de98", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198001.089, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-07b7bf7f2288518a3", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197308.461, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-08b83c17eb5834a05", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197308.602, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-018d291ca9ffc002f", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197308.68, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-02ef4b916ab622f0a", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552765.783, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0266bbea3330d8d4d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552766.122, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0266bbea3330d8d4d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552766.295, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-07e39cde436e94511", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198001.021, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0d3e509ea6406b8f7", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197308.753, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0e160620e695cfbd6", + "Version": 73 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/ca-central-1.json b/moto/ssm/resources/ami-amazon-linux-latest/ca-central-1.json new file mode 100644 index 000000000..e8b8c25f8 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/ca-central-1.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552746.362, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-085e7db889bbcdf90", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552746.155, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-041b8ba43220d3d92", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197978.651, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-049acb493572b37a7", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197978.761, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0b3a2d9264db347bf", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197978.877, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-011a53a5ac69c5b00", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197979.074, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0b1d8eabf4ae3dcd9", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197282.178, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0463527f07939f08c", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197282.285, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0ea3c1c3bcde82f98", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197282.398, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0300c413e2de1804e", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197282.603, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0dc02d7c19b1956fe", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552745.819, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-025cac8e77542e15b", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552745.94, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-085e7db889bbcdf90", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552746.266, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-025cac8e77542e15b", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552746.057, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-074a73ec0408601c4", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552746.46, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-074a73ec0408601c4", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552746.571, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-041b8ba43220d3d92", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197978.981, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0d822892092eec2ce", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197282.505, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-065ab3db2b1fde8a5", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197282.702, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-06b0bb707079eb96a", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197282.805, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0cf212f18314c46d0", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:ca-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197282.906, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-040339185ea02295c", + "Version": 73 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/eu-central-1.json b/moto/ssm/resources/ami-amazon-linux-latest/eu-central-1.json new file mode 100644 index 000000000..7dfd7977e --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/eu-central-1.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552750.066, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-08d7c8a4e9c511008", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552749.68, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0a5dbc028abd4cd18", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197980.4, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-099c86c7b99c72b36", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197980.601, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-08baf19005f1bbfeb", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197980.797, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-012f02dd55dcab6e8", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197981.178, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0bbf064c4581b59a1", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197284.465, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0965af9995b3a878f", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197284.791, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0872ea47efc1cee46", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197284.989, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-041e64b0129bffca9", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197285.391, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0dec34430252847af", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552749.28, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-08d7c8a4e9c511008", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552749.484, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-03dc305d22c9e3414", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552750.471, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0a5dbc028abd4cd18", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197980.997, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0d46c67fe41e5d399", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197981.37, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0ec8696a68a31710b", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197981.568, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-045eebcdc19f47449", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197981.969, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-064af50e37ce389be", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197285.19, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0854da2f8540b70a2", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197285.599, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0e2031728ef69a466", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197285.787, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0b8c4ad91276b271a", + "Version": 55 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552749.084, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0d5ec2ce1a99d68ec", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552749.879, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0d5ec2ce1a99d68ec", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552750.264, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-03dc305d22c9e3414", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197981.769, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0fe2279ca5a5abcb2", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-central-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197285.988, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-063d4e60e9c5f9aed", + "Version": 72 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/eu-north-1.json b/moto/ssm/resources/ami-amazon-linux-latest/eu-north-1.json new file mode 100644 index 000000000..c7ac62554 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/eu-north-1.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552752.557, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-01f6ea424a4df90ff", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552752.143, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-09826f866501c9d94", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197985.435, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0a271b0a1ed34f95c", + "Version": 41 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197985.658, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-036cfaa2b85115c81", + "Version": 41 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197985.882, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0b84e08140837278c", + "Version": 41 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197986.304, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0d8831eee15d3e218", + "Version": 41 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197289.66, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0cb0c6fa5a3c56cc0", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197289.881, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0283128fc079c285a", + "Version": 60 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197290.105, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0b87edaa84d7c45ce", + "Version": 60 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197290.569, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0e968b158afae4460", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552751.459, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-09412a13ca182279b", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552751.69, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-01f6ea424a4df90ff", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552752.35, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-09412a13ca182279b", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552751.912, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-03fa5349c5d79d19f", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552752.783, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-03fa5349c5d79d19f", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552752.993, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-09826f866501c9d94", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197986.098, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-002dade21e7104b8c", + "Version": 41 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197290.33, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-00ca53272a3025ad4", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197290.798, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-078e13ebe3b027f1c", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197291.017, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0c3bc7afaae23cf64", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:eu-north-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197291.221, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0b5abe960ff064784", + "Version": 60 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/eu-south-1.json b/moto/ssm/resources/ami-amazon-linux-latest/eu-south-1.json new file mode 100644 index 000000000..17a3df66f --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/eu-south-1.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552466.586, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-010a48b2b311e7a14", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552466.785, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-050337bca5279f628", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552466.983, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0739f911a8ed98302", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552467.201, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-08b16adb81d5ad3f9", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197633.077, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-028e49f3db62d6f12", + "Version": 32 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197633.288, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-07d16d17da68dc5d6", + "Version": 32 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197633.494, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-096943d559b909b1f", + "Version": 32 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196698.184, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-08592936a60273c79", + "Version": 22 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196698.381, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-02162ce1403e0c589", + "Version": 22 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196698.988, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0be7dd43ffe002211", + "Version": 42 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552467.408, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-010a48b2b311e7a14", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552467.609, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-050337bca5279f628", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552467.804, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0739f911a8ed98302", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552468.024, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-08b16adb81d5ad3f9", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197632.837, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-066a6f2772aeb21c1", + "Version": 32 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196697.53, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-06beae21e62330dd0", + "Version": 34 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196697.753, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-01693d07de24b64bf", + "Version": 42 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196697.974, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-07a10ce489fece5f8", + "Version": 42 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196698.585, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0927b6fb55cd3ed6b", + "Version": 22 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196698.782, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-07c49ccf0f131c114", + "Version": 34 + }, + { + "ARN": "arn:aws:ssm:eu-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197633.696, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0ca924897049ca017", + "Version": 32 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/eu-west-1.json b/moto/ssm/resources/ami-amazon-linux-latest/eu-west-1.json new file mode 100644 index 000000000..af8a642d6 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/eu-west-1.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552754.683, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0dd3a3853fdd6d881", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552754.364, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0982468c744d2c66e", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197987.615, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-050149524d9316f7b", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197987.774, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-090bde41ad80ef226", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197987.933, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-023e9f50698fc58e8", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197988.272, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0f6ab4129248e5209", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197292.742, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-05223a36a9748498d", + "Version": 60 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197292.914, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0c48a21be09754b97", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197293.086, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-038e9cdc714b15936", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197293.427, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-060eb637bf1b52199", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552754.043, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0dd3a3853fdd6d881", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552754.21, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-031e673bb67051333", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552755.028, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0982468c744d2c66e", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197988.098, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0a75cdf5a0c1ca3e4", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197988.437, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0f3f3b564fd6695ff", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197988.596, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-043c575e58106c554", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197988.927, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-024588c8eb67c59ed", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197293.255, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-037bde7013647d23a", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197293.59, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-09e2d756e7d78558d", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197293.744, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0a55887786a13ae31", + "Version": 60 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552753.875, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-095953584db9869f0", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552754.522, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-095953584db9869f0", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552754.856, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-031e673bb67051333", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197988.757, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-04f1357f10c9ba1ab", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197293.902, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-004280f55acf7448b", + "Version": 72 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/eu-west-2.json b/moto/ssm/resources/ami-amazon-linux-latest/eu-west-2.json new file mode 100644 index 000000000..bf62d631e --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/eu-west-2.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552756.855, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-09185ed014c94f88f", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552756.495, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0ef21c992a41ee4ff", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197990.107, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0def4286af35bc966", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197990.298, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-06294e0fa9f10d1f4", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197990.484, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-09119c7de636b58e1", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197990.849, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0d074912fcb05c8f5", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197295.46, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0d97fa13ebda706b8", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197295.65, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-03944c40a45d7a31d", + "Version": 71 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197295.829, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0c496e8bea496ed67", + "Version": 71 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197296.186, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0b8b4d4dfd648aebc", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552755.922, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0f4cfddc441d6120b", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552756.111, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-09185ed014c94f88f", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552756.668, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0f4cfddc441d6120b", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552756.302, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0068cf332346ae926", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552757.048, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0068cf332346ae926", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552757.223, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0ef21c992a41ee4ff", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197990.659, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0f159438099230245", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197296.008, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-06290d0872e939755", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197296.354, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-00785f4835c6acf64", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197296.54, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0b873e8eeea16d522", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:eu-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197296.711, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0f3c00eabcb182bbb", + "Version": 71 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/eu-west-3.json b/moto/ssm/resources/ami-amazon-linux-latest/eu-west-3.json new file mode 100644 index 000000000..82ccf1c4d --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/eu-west-3.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552759.123, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-09d2e5f499c96f3ec", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552758.718, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-08b612668d46bfdb1", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197992.122, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0a6e0b073af596c8f", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197992.316, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0b0956a2e2d6d331a", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197992.515, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-095726d0edc1f9f62", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197992.879, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0625a1ce9190959c8", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197298.144, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0e9ca48e27e192f4f", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197298.336, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0137ebc190cac16f5", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197298.527, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-002e2b155689f6e23", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197298.9, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0d1bc83ed7d7456df", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552758.105, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-02d5563690b37db84", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552758.319, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-09d2e5f499c96f3ec", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552758.918, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-02d5563690b37db84", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552758.524, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0be768ac537ef39dd", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552759.303, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0be768ac537ef39dd", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552759.497, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-08b612668d46bfdb1", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197992.691, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-018cd60f547831040", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197298.72, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0e0d3ede1da0fa3d0", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197299.103, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0eb375f24fdf647b8", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197299.309, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-093641b607b5145ad", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:eu-west-3::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197299.504, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0b06d669a250dd998", + "Version": 73 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/me-south-1.json b/moto/ssm/resources/ami-amazon-linux-latest/me-south-1.json new file mode 100644 index 000000000..d63fe0af1 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/me-south-1.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552439.583, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0434928122ea77caf", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552438.856, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0fa34a51167765b3c", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552439.098, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0b3b92c249db8e8ef", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552439.825, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0fa34a51167765b3c", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197518.496, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-07692ba4da7f96377", + "Version": 36 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197518.752, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-092795c88e76d7fcc", + "Version": 36 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196634.986, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-01cbb5e0afe310efe", + "Version": 34 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196635.498, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-090a20e93e6698582", + "Version": 49 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196636.243, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-041b608cf2af138c0", + "Version": 22 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196636.739, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-017348d7ab12a9787", + "Version": 49 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552438.335, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0d03d1ac87e8ebd3c", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552438.593, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0434928122ea77caf", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552439.34, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0d03d1ac87e8ebd3c", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552440.086, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0b3b92c249db8e8ef", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197519.003, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-09de21fae030fc4ff", + "Version": 36 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197519.246, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-08342bd13e69c8b86", + "Version": 36 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196635.242, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-08d49dc145efafdeb", + "Version": 49 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661196635.75, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0b662d4778a12f3f8", + "Version": 22 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196636.0, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-00f33808a83293945", + "Version": 22 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661196636.485, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0d71e908cdbfebb72", + "Version": 34 + }, + { + "ARN": "arn:aws:ssm:me-south-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197518.24, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-03776c676dd3d41bc", + "Version": 36 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/sa-east-1.json b/moto/ssm/resources/ami-amazon-linux-latest/sa-east-1.json new file mode 100644 index 000000000..22558deec --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/sa-east-1.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552761.742, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0a486f640486c6c8c", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552761.283, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-005fe0a1690561be2", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197994.387, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0ac3651b5851f2451", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197994.648, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0e12779a43e90b7ac", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197994.906, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0f368003b2908fa67", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197995.396, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-01cc820da71c5bce6", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197301.077, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-03616356ac6a80d87", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197301.309, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0340adf4c92b5d794", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197301.554, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-058f4e20c17271f68", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197302.032, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0a5a2d5258e4b706c", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552760.813, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0a486f640486c6c8c", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552761.051, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-019feb3fdf875486d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552762.23, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-005fe0a1690561be2", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197995.152, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0c8b7d0a4552c702e", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197995.636, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-00b2509167673fc24", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197995.858, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-0a006dee45f5e85f7", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197996.324, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-0e98abe3371803def", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197301.783, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-06e9415c3372121a2", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197302.28, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0aca10934d525a6f0", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197302.531, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-07350b0d9fcd949c0", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552760.552, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0f201e6bf801f666d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552761.517, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0f201e6bf801f666d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552761.981, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-019feb3fdf875486d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197996.085, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0ffc91990a785820b", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:sa-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197302.761, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-020c31de785f7b68a", + "Version": 73 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/us-east-1.json b/moto/ssm/resources/ami-amazon-linux-latest/us-east-1.json new file mode 100644 index 000000000..b07b7776a --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/us-east-1.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552763.706, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-05577ed0e20b23acc", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552763.468, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0e960bfa90cdd7bf9", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197997.638, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0e355715ed988f2c9", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197997.763, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0b9d78a673552de50", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197997.887, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0cf60c565987ef66a", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197998.129, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0541797f2a902de6b", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197304.154, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0ff3578f8df132330", + "Version": 58 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197304.286, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0bb85ecb87fe01c2f", + "Version": 71 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197304.417, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-02538f8925e3aa27a", + "Version": 72 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197304.672, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0242b87a4c950e92d", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552763.213, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-05577ed0e20b23acc", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552763.34, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0ce2788479a7838e0", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552764.017, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0e960bfa90cdd7bf9", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197998.012, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0d7f0c109d5c67a92", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197998.256, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-07386c6c3224d1795", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197998.384, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-04f96a8e15a425f95", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197998.629, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-0f267e616a2e05937", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197304.552, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-05f3141013eebdc12", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197304.793, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-05fa00d4c63e32376", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197304.925, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-035f2e069578f71e4", + "Version": 58 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552763.087, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-09d6dff71c75d903e", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552763.586, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-09d6dff71c75d903e", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552763.826, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0ce2788479a7838e0", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197998.511, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-074486b1d20c07979", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-east-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197305.043, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0f294c25b5bc4aee5", + "Version": 71 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/us-east-2.json b/moto/ssm/resources/ami-amazon-linux-latest/us-east-2.json new file mode 100644 index 000000000..73633d040 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/us-east-2.json @@ -0,0 +1,191 @@ +[ + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552765.104, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-024a56c3b615774ff", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552764.903, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0982771dfb2d7e51f", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197999.513, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0f452f66199b06141", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197999.607, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-007f7c9e2bafe6b0b", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197999.7, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0a316ed269eb78df6", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661197999.887, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-06dc754d27f0a0758", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197306.423, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-04ed2b27d86c17f09", + "Version": 59 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197306.545, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-06bd8a892430d6442", + "Version": 71 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197306.662, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0ee5c62243ab25259", + "Version": 71 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197306.891, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-041c6323ff1898a17", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552764.596, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-021db184a41184936", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552764.706, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-024a56c3b615774ff", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552765.001, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-021db184a41184936", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552764.813, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0c825ab7f1a18fb91", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552765.209, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-0c825ab7f1a18fb91", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552765.307, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0982771dfb2d7e51f", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197999.794, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0c2c49ef9470c91e9", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197306.774, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0da7236b7a69cf265", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197306.997, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0568773882d492fc8", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197307.105, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-077b14a1b72efdd17", + "Version": 59 + }, + { + "ARN": "arn:aws:ssm:us-east-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197307.214, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0e76b3de1dbf12866", + "Version": 71 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/us-west-1.json b/moto/ssm/resources/ami-amazon-linux-latest/us-west-1.json new file mode 100644 index 000000000..5627571d8 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/us-west-1.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552766.223, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0b4659d78cb302fd7", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552766.03, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-081e29ba5ac97f6ed", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198000.525, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0f0c6dd67e57eb7da", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661198000.588, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0f10d032efbb0d021", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198000.673, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-09e747de04c8097d8", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198000.818, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-00abe7c37bf7e315d", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197308.223, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0f36e12deb25112d9", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197308.298, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0b591b790e74edd1c", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197308.377, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0019ad94c6124959d", + "Version": 73 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197308.533, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0ec9bc5ebf8f304f7", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552765.878, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0b4659d78cb302fd7", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552765.95, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-07e39cde436e94511", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552766.379, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-081e29ba5ac97f6ed", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198000.739, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-094bf1c3c5cd1093f", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198000.89, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-01e9194b4ab509f10", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198000.957, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-04c6a77e0b8e6de98", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198001.089, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-07b7bf7f2288518a3", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197308.461, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-08b83c17eb5834a05", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197308.602, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-018d291ca9ffc002f", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197308.68, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-02ef4b916ab622f0a", + "Version": 40 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552765.783, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0266bbea3330d8d4d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552766.122, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0266bbea3330d8d4d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552766.295, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-07e39cde436e94511", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198001.021, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0d3e509ea6406b8f7", + "Version": 48 + }, + { + "ARN": "arn:aws:ssm:us-west-1::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197308.753, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0e160620e695cfbd6", + "Version": 73 + } +] \ No newline at end of file diff --git a/moto/ssm/resources/ami-amazon-linux-latest/us-west-2.json b/moto/ssm/resources/ami-amazon-linux-latest/us-west-2.json new file mode 100644 index 000000000..e78d44af0 --- /dev/null +++ b/moto/ssm/resources/ami-amazon-linux-latest/us-west-2.json @@ -0,0 +1,227 @@ +[ + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552767.187, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0401f0c3aba47c977", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552767.053, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0836fa93bff9c68f3", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198002.056, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0511840b1d7ac1aca", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661198002.107, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0b09ce6bd886e714e", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198002.148, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0db7286a84f769b7f", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198002.282, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-s3", + "Type": "String", + "Value": "ami-0724240f434d1a797", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197309.997, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-0bbda02f23a4a8964", + "Version": 59 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197310.05, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-007f5e3fbf79a5931", + "Version": 71 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197310.113, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-07d59d159373b8030", + "Version": 71 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197310.247, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-03b37382c2a32d427", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552766.933, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-x86_64", + "Type": "String", + "Value": "ami-0401f0c3aba47c977", + "Version": 12 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552766.993, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-044a07d99d6a2456d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "DataType": "text", + "LastModifiedDate": 1661552767.347, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-x86_64", + "Type": "String", + "Value": "ami-0836fa93bff9c68f3", + "Version": 11 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198002.211, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-00413793e4d8a02c8", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198002.351, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-01dee3410bbc2b116", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198002.406, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-minimal-pv-x86_64-s3", + "Type": "String", + "Value": "ami-0e1a77df6ba65acb8", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "DataType": "text", + "LastModifiedDate": 1661198002.504, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-s3", + "Type": "String", + "Value": "ami-06ba5e1d42380443b", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197310.181, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-arm64-gp2", + "Type": "String", + "Value": "ami-07c02c38124bd75bd", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "DataType": "text", + "LastModifiedDate": 1661197310.311, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-kernel-5.10-hvm-x86_64-gp2", + "Type": "String", + "Value": "ami-0c2ab3b8efb09f272", + "Version": 24 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197310.357, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-arm64-ebs", + "Type": "String", + "Value": "ami-0bbf2e1c392f97510", + "Version": 59 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "DataType": "text", + "LastModifiedDate": 1661552766.865, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-5.15-arm64", + "Type": "String", + "Value": "ami-0015056c86dde26ad", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552767.095, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-arm64", + "Type": "String", + "Value": "ami-0015056c86dde26ad", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "DataType": "text", + "LastModifiedDate": 1661552767.266, + "Name": "/aws/service/ami-amazon-linux-latest/al2022-ami-minimal-kernel-default-arm64", + "Type": "String", + "Value": "ami-044a07d99d6a2456d", + "Version": 8 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661198002.461, + "Name": "/aws/service/ami-amazon-linux-latest/amzn-ami-pv-x86_64-ebs", + "Type": "String", + "Value": "ami-0c549295094513d48", + "Version": 47 + }, + { + "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "DataType": "text", + "LastModifiedDate": 1661197310.419, + "Name": "/aws/service/ami-amazon-linux-latest/amzn2-ami-minimal-hvm-x86_64-ebs", + "Type": "String", + "Value": "ami-0f51d4d93d5bee36b", + "Version": 71 + } +] \ No newline at end of file diff --git a/scripts/ssm_get_default_amis.py b/scripts/ssm_get_default_amis.py new file mode 100644 index 000000000..ccd1bea5f --- /dev/null +++ b/scripts/ssm_get_default_amis.py @@ -0,0 +1,72 @@ +import time + +import boto3 +import json +import time +import os +import subprocess +from datetime import timezone +from moto.core.utils import unix_time +from moto.ec2.utils import gen_moto_amis + + +def retrieve_by_path(client, path): + x = client.get_parameters_by_path(Path=path, Recursive=True) + parameters = x["Parameters"] + next_token = x["NextToken"] + while next_token: + x = client.get_parameters_by_path(Path=path, Recursive=True, NextToken=next_token) + parameters.extend(x["Parameters"]) + next_token = x.get("NextToken") + + return parameters + + +def main(): + """ + Retrieve the latest AMI-details from SSM + - Download from AWS + - Store this in the dedicated moto/ssm/resources-folder + """ + + regions = boto3.Session().get_available_regions("ssm") + + for region in regions: + client = boto3.client('ssm', region_name=region) + ec2 = boto3.client("ec2", region_name=region) + + default_param_path = "/aws/service/ami-amazon-linux-latest" + + # Retrieve default AMI values + try: + params = retrieve_by_path(client, default_param_path) + for param in params: + param["LastModifiedDate"] = unix_time(param["LastModifiedDate"].astimezone(timezone.utc).replace(tzinfo=None)) + + root_dir = ( + subprocess.check_output(["git", "rev-parse", "--show-toplevel"]) + .decode() + .strip() + ) + dest = os.path.join(root_dir, f"moto/ssm/resources/ami-amazon-linux-latest/{region}.json") + print("Writing data to {0}".format(dest)) + with open(dest, "w") as open_file: + json.dump(params, open_file, sort_keys=True, indent=2) + + # Retrieve details about AMIs from EC2 + image_ids = [p["Value"] for p in params] + images = ec2.describe_images(ImageIds=image_ids)["Images"] + image_as_dicts = gen_moto_amis(images) + dest = os.path.join(root_dir, f"moto/ec2/resources/latest_amis/{region}.json") + print("Writing data to {0}".format(dest)) + with open(dest, "w") as open_file: + json.dump(image_as_dicts, open_file, sort_keys=True, indent=2) + + time.sleep(0.5) + except Exception 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() diff --git a/tests/test_ec2/test_amis.py b/tests/test_ec2/test_amis.py index 40943a42b..68b3b8f1b 100644 --- a/tests/test_ec2/test_amis.py +++ b/tests/test_ec2/test_amis.py @@ -841,7 +841,7 @@ def test_filter_description(): Owners=["amazon"], Filters=[{"Name": "description", "Values": ["Amazon Linux AMI*"]}], )["Images"] - resp.should.have.length_of(4) + resp.should.have.length_of(9) # Search for full description resp = client.describe_images( diff --git a/tests/test_ssm/test_ssm_default_amis.py b/tests/test_ssm/test_ssm_default_amis.py new file mode 100644 index 000000000..712326b86 --- /dev/null +++ b/tests/test_ssm/test_ssm_default_amis.py @@ -0,0 +1,32 @@ +import boto3 +import sure # noqa # pylint: disable=unused-import + +from moto import mock_ssm + + +test_ami = "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64" + + +@mock_ssm +def test_ssm_get_latest_ami_by_path(): + client = boto3.client("ssm", region_name="us-west-1") + path = "/aws/service/ami-amazon-linux-latest" + params = client.get_parameters_by_path(Path=path)["Parameters"] + params.should.have.length_of(10) + + ami = [p for p in params if p["Name"] == test_ami][0] + ami["Type"].should.equal("String") + ami["Version"].should.equal(11) + ami["Value"].should.equal("ami-0b4659d78cb302fd7") + ami.should.have.key("LastModifiedDate") + + +@mock_ssm +def test_ssm_latest_amis_are_different_in_regions(): + client = boto3.client("ssm", region_name="us-west-1") + ami_uswest = client.get_parameter(Name=test_ami)["Parameter"]["Value"] + + client = boto3.client("ssm", region_name="eu-north-1") + ami_eunorth = client.get_parameter(Name=test_ami)["Parameter"]["Value"] + + ami_uswest.shouldnt.equal(ami_eunorth) diff --git a/tests/test_ssm/test_ssm_ec2_integration.py b/tests/test_ssm/test_ssm_ec2_integration.py new file mode 100644 index 000000000..b52ab0b70 --- /dev/null +++ b/tests/test_ssm/test_ssm_ec2_integration.py @@ -0,0 +1,17 @@ +import boto3 +import sure # noqa # pylint: disable=unused-import + +from moto import mock_ec2, mock_ssm + + +test_ami = "/aws/service/ami-amazon-linux-latest/al2022-ami-kernel-default-x86_64" + + +@mock_ec2 +@mock_ssm +def test_ssm_get_latest_ami_by_path(): + ssm = boto3.client("ssm", region_name="us-east-1") + ami = ssm.get_parameter(Name=test_ami)["Parameter"]["Value"] + + ec2 = boto3.client("ec2", region_name="us-east-1") + ec2.describe_images(ImageIds=[ami])["Images"].should.have.length_of(1) diff --git a/tests/test_ssm/test_ssm_parameterstore.py b/tests/test_ssm/test_ssm_parameterstore.py index 9d51faff7..9ca1e66b6 100644 --- a/tests/test_ssm/test_ssm_parameterstore.py +++ b/tests/test_ssm/test_ssm_parameterstore.py @@ -83,3 +83,12 @@ def test_get_key_beginning_with_aws(): "/aws/service/global-infrastructure/regions/us-west-1/partition", } ) + + +def test_ssm_parameter_from_unknown_region(): + store = ParameterDict("accnt", "region") + list( + store.get_keys_beginning_with( + "/aws/service/ami-amazon-linux-latest", recursive=False + ) + ).should.equal([])