Repository: getmoto/moto
Pull request #7771 (2024-06-16 06:10:20)

chore: update EC2 Instance Offerings
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action


Patch:
diff --git a/moto/ec2/resources/instance_type_offerings/availability-zone-id/ap-south-1.json b/moto/ec2/resources/instance_type_offerings/availability-zone-id/ap-south-1.json
index 9e2890c22..1a4359858 100644
--- a/moto/ec2/resources/instance_type_offerings/availability-zone-id/ap-south-1.json
+++ b/moto/ec2/resources/instance_type_offerings/availability-zone-id/ap-south-1.json
@@ -1135,6 +1135,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "aps1-az1"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "aps1-az1"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "aps1-az1"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "aps1-az1"
@@ -3095,6 +3175,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "aps1-az2"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "aps1-az2"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "aps1-az2"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "aps1-az2"
@@ -4975,6 +5135,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "aps1-az3"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "aps1-az3"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "aps1-az3"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "aps1-az3"
diff --git a/moto/ec2/resources/instance_type_offerings/availability-zone-id/ca-central-1.json b/moto/ec2/resources/instance_type_offerings/availability-zone-id/ca-central-1.json
index 479842480..42dbbd9f0 100644
--- a/moto/ec2/resources/instance_type_offerings/availability-zone-id/ca-central-1.json
+++ b/moto/ec2/resources/instance_type_offerings/availability-zone-id/ca-central-1.json
@@ -1183,6 +1183,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "cac1-az1"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "cac1-az1"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "cac1-az1"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "cac1-az1"
@@ -3091,6 +3171,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "cac1-az2"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "cac1-az2"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "cac1-az2"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "cac1-az2"
@@ -4735,6 +4895,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "cac1-az4"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "cac1-az4"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "cac1-az4"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "cac1-az4"
diff --git a/moto/ec2/resources/instance_type_offerings/availability-zone-id/us-east-1.json b/moto/ec2/resources/instance_type_offerings/availability-zone-id/us-east-1.json
index daf73566f..f5aadec45 100644
--- a/moto/ec2/resources/instance_type_offerings/availability-zone-id/us-east-1.json
+++ b/moto/ec2/resources/instance_type_offerings/availability-zone-id/us-east-1.json
@@ -535,6 +535,42 @@
   "InstanceType": "c7g.xlarge",
   "Location": "use1-az1"
  },
+ {
+  "InstanceType": "c7gd.12xlarge",
+  "Location": "use1-az1"
+ },
+ {
+  "InstanceType": "c7gd.16xlarge",
+  "Location": "use1-az1"
+ },
+ {
+  "InstanceType": "c7gd.2xlarge",
+  "Location": "use1-az1"
+ },
+ {
+  "InstanceType": "c7gd.4xlarge",
+  "Location": "use1-az1"
+ },
+ {
+  "InstanceType": "c7gd.8xlarge",
+  "Location": "use1-az1"
+ },
+ {
+  "InstanceType": "c7gd.large",
+  "Location": "use1-az1"
+ },
+ {
+  "InstanceType": "c7gd.medium",
+  "Location": "use1-az1"
+ },
+ {
+  "InstanceType": "c7gd.metal",
+  "Location": "use1-az1"
+ },
+ {
+  "InstanceType": "c7gd.xlarge",
+  "Location": "use1-az1"
+ },
  {
   "InstanceType": "c7i.12xlarge",
   "Location": "use1-az1"
@@ -8023,6 +8059,10 @@
   "InstanceType": "mac1.metal",
   "Location": "use1-az4"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "use1-az4"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "use1-az4"
@@ -13667,6 +13707,10 @@
   "InstanceType": "mac1.metal",
   "Location": "use1-az6"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "use1-az6"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "use1-az6"
diff --git a/moto/ec2/resources/instance_type_offerings/availability-zone-id/us-west-2.json b/moto/ec2/resources/instance_type_offerings/availability-zone-id/us-west-2.json
index d53ee8bf9..d03a56af7 100644
--- a/moto/ec2/resources/instance_type_offerings/availability-zone-id/us-west-2.json
+++ b/moto/ec2/resources/instance_type_offerings/availability-zone-id/us-west-2.json
@@ -1915,6 +1915,10 @@
   "InstanceType": "mac1.metal",
   "Location": "usw2-az1"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "usw2-az1"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "usw2-az1"
@@ -7979,6 +7983,10 @@
   "InstanceType": "mac1.metal",
   "Location": "usw2-az3"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "usw2-az3"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "usw2-az3"
@@ -10519,6 +10527,10 @@
   "InstanceType": "mac1.metal",
   "Location": "usw2-az4"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "usw2-az4"
+ },
  {
   "InstanceType": "mac2.metal",
   "Location": "usw2-az4"
diff --git a/moto/ec2/resources/instance_type_offerings/availability-zone/ap-south-1.json b/moto/ec2/resources/instance_type_offerings/availability-zone/ap-south-1.json
index 161cb3bb1..a2b4be4c7 100644
--- a/moto/ec2/resources/instance_type_offerings/availability-zone/ap-south-1.json
+++ b/moto/ec2/resources/instance_type_offerings/availability-zone/ap-south-1.json
@@ -1135,6 +1135,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "ap-south-1a"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "ap-south-1a"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "ap-south-1a"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "ap-south-1a"
@@ -3179,6 +3259,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "ap-south-1b"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "ap-south-1b"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "ap-south-1b"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "ap-south-1b"
@@ -5139,6 +5299,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "ap-south-1c"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "ap-south-1c"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "ap-south-1c"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "ap-south-1c"
diff --git a/moto/ec2/resources/instance_type_offerings/availability-zone/ca-central-1.json b/moto/ec2/resources/instance_type_offerings/availability-zone/ca-central-1.json
index ad0374f5f..d0da58de7 100644
--- a/moto/ec2/resources/instance_type_offerings/availability-zone/ca-central-1.json
+++ b/moto/ec2/resources/instance_type_offerings/availability-zone/ca-central-1.json
@@ -1183,6 +1183,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "ca-central-1a"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "ca-central-1a"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "ca-central-1a"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "ca-central-1a"
@@ -3091,6 +3171,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "ca-central-1b"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "ca-central-1b"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "ca-central-1b"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "ca-central-1b"
@@ -4735,6 +4895,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "ca-central-1d"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "ca-central-1d"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "ca-central-1d"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "ca-central-1d"
diff --git a/moto/ec2/resources/instance_type_offerings/availability-zone/us-east-1.json b/moto/ec2/resources/instance_type_offerings/availability-zone/us-east-1.json
index cfae3e836..63a3ec21b 100644
--- a/moto/ec2/resources/instance_type_offerings/availability-zone/us-east-1.json
+++ b/moto/ec2/resources/instance_type_offerings/availability-zone/us-east-1.json
@@ -535,6 +535,42 @@
   "InstanceType": "c7g.xlarge",
   "Location": "us-east-1a"
  },
+ {
+  "InstanceType": "c7gd.12xlarge",
+  "Location": "us-east-1a"
+ },
+ {
+  "InstanceType": "c7gd.16xlarge",
+  "Location": "us-east-1a"
+ },
+ {
+  "InstanceType": "c7gd.2xlarge",
+  "Location": "us-east-1a"
+ },
+ {
+  "InstanceType": "c7gd.4xlarge",
+  "Location": "us-east-1a"
+ },
+ {
+  "InstanceType": "c7gd.8xlarge",
+  "Location": "us-east-1a"
+ },
+ {
+  "InstanceType": "c7gd.large",
+  "Location": "us-east-1a"
+ },
+ {
+  "InstanceType": "c7gd.medium",
+  "Location": "us-east-1a"
+ },
+ {
+  "InstanceType": "c7gd.metal",
+  "Location": "us-east-1a"
+ },
+ {
+  "InstanceType": "c7gd.xlarge",
+  "Location": "us-east-1a"
+ },
  {
   "InstanceType": "c7i.12xlarge",
   "Location": "us-east-1a"
@@ -7767,6 +7803,10 @@
   "InstanceType": "mac1.metal",
   "Location": "us-east-1c"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "us-east-1c"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "us-east-1c"
@@ -10831,6 +10871,10 @@
   "InstanceType": "mac1.metal",
   "Location": "us-east-1d"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "us-east-1d"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "us-east-1d"
diff --git a/moto/ec2/resources/instance_type_offerings/availability-zone/us-west-2.json b/moto/ec2/resources/instance_type_offerings/availability-zone/us-west-2.json
index 24b177f7c..d8d44e57b 100644
--- a/moto/ec2/resources/instance_type_offerings/availability-zone/us-west-2.json
+++ b/moto/ec2/resources/instance_type_offerings/availability-zone/us-west-2.json
@@ -1915,6 +1915,10 @@
   "InstanceType": "mac1.metal",
   "Location": "us-west-2a"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "us-west-2a"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "us-west-2a"
@@ -7979,6 +7983,10 @@
   "InstanceType": "mac1.metal",
   "Location": "us-west-2c"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "us-west-2c"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "us-west-2c"
@@ -10519,6 +10527,10 @@
   "InstanceType": "mac1.metal",
   "Location": "us-west-2d"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "us-west-2d"
+ },
  {
   "InstanceType": "mac2.metal",
   "Location": "us-west-2d"
diff --git a/moto/ec2/resources/instance_type_offerings/region/ap-south-1.json b/moto/ec2/resources/instance_type_offerings/region/ap-south-1.json
index 6c4c97c17..a772e4c64 100644
--- a/moto/ec2/resources/instance_type_offerings/region/ap-south-1.json
+++ b/moto/ec2/resources/instance_type_offerings/region/ap-south-1.json
@@ -1159,6 +1159,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "ap-south-1"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "ap-south-1"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "ap-south-1"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "ap-south-1"
diff --git a/moto/ec2/resources/instance_type_offerings/region/ca-central-1.json b/moto/ec2/resources/instance_type_offerings/region/ca-central-1.json
index dc6eda134..44e87bf89 100644
--- a/moto/ec2/resources/instance_type_offerings/region/ca-central-1.json
+++ b/moto/ec2/resources/instance_type_offerings/region/ca-central-1.json
@@ -1187,6 +1187,86 @@
   "InstanceType": "m6id.xlarge",
   "Location": "ca-central-1"
  },
+ {
+  "InstanceType": "m6idn.12xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6idn.16xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6idn.24xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6idn.2xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6idn.32xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6idn.4xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6idn.8xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6idn.large",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6idn.metal",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6idn.xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.12xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.16xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.24xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.2xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.32xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.4xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.8xlarge",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.large",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.metal",
+  "Location": "ca-central-1"
+ },
+ {
+  "InstanceType": "m6in.xlarge",
+  "Location": "ca-central-1"
+ },
  {
   "InstanceType": "m7g.12xlarge",
   "Location": "ca-central-1"
diff --git a/moto/ec2/resources/instance_type_offerings/region/us-east-1.json b/moto/ec2/resources/instance_type_offerings/region/us-east-1.json
index 52698c6a5..01983e920 100644
--- a/moto/ec2/resources/instance_type_offerings/region/us-east-1.json
+++ b/moto/ec2/resources/instance_type_offerings/region/us-east-1.json
@@ -1951,6 +1951,10 @@
   "InstanceType": "mac1.metal",
   "Location": "us-east-1"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "us-east-1"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "us-east-1"
diff --git a/moto/ec2/resources/instance_type_offerings/region/us-west-2.json b/moto/ec2/resources/instance_type_offerings/region/us-west-2.json
index 21efc39ab..68973054f 100644
--- a/moto/ec2/resources/instance_type_offerings/region/us-west-2.json
+++ b/moto/ec2/resources/instance_type_offerings/region/us-west-2.json
@@ -1943,6 +1943,10 @@
   "InstanceType": "mac1.metal",
   "Location": "us-west-2"
  },
+ {
+  "InstanceType": "mac2-m1ultra.metal",
+  "Location": "us-west-2"
+ },
  {
   "InstanceType": "mac2-m2.metal",
   "Location": "us-west-2"
diff --git a/moto/ec2/resources/instance_types.json b/moto/ec2/resources/instance_types.json
index c31618ae1..fc94a0639 100644
--- a/moto/ec2/resources/instance_types.json
+++ b/moto/ec2/resources/instance_types.json
@@ -55708,6 +55708,88 @@
    "DefaultVCpus": 12
   }
  },
+ "mac2-m1ultra.metal": {
+  "AutoRecoverySupported": false,
+  "BareMetal": true,
+  "BurstablePerformanceSupported": false,
+  "CurrentGeneration": true,
+  "DedicatedHostsSupported": true,
+  "EbsInfo": {
+   "EbsOptimizedInfo": {
+    "BaselineBandwidthInMbps": 10000,
+    "BaselineIops": 55000,
+    "BaselineThroughputInMBps": 1250.0,
+    "MaximumBandwidthInMbps": 10000,
+    "MaximumIops": 55000,
+    "MaximumThroughputInMBps": 1250.0
+   },
+   "EbsOptimizedSupport": "default",
+   "EncryptionSupport": "supported",
+   "NvmeSupport": "required"
+  },
+  "FreeTierEligible": false,
+  "HibernationSupported": false,
+  "InstanceStorageSupported": false,
+  "InstanceType": "mac2-m1ultra.metal",
+  "MemoryInfo": {
+   "SizeInMiB": 131072
+  },
+  "NetworkInfo": {
+   "DefaultNetworkCardIndex": 0,
+   "EfaSupported": false,
+   "EnaSrdSupported": false,
+   "EnaSupport": "required",
+   "EncryptionInTransitSupported": false,
+   "Ipv4AddressesPerInterface": 30,
+   "Ipv6AddressesPerInterface": 30,
+   "Ipv6Supported": true,
+   "MaximumNetworkCards": 1,
+   "MaximumNetworkInterfaces": 8,
+   "NetworkCards": [
+    {
+     "BaselineBandwidthInGbps": 10.0,
+     "MaximumNetworkInterfaces": 8,
+     "NetworkCardIndex": 0,
+     "NetworkPerformance": "10 Gigabit",
+     "PeakBandwidthInGbps": 10.0
+    }
+   ],
+   "NetworkPerformance": "10 Gigabit"
+  },
+  "NitroEnclavesSupport": "unsupported",
+  "NitroTpmSupport": "unsupported",
+  "PhcSupport": "unsupported",
+  "PlacementGroupInfo": {
+   "SupportedStrategies": [
+    "partition",
+    "spread"
+   ]
+  },
+  "ProcessorInfo": {
+   "Manufacturer": "Apple",
+   "SupportedArchitectures": [
+    "arm64_mac"
+   ],
+   "SustainedClockSpeedInGhz": 3.2
+  },
+  "SupportedBootModes": [
+   "legacy-bios"
+  ],
+  "SupportedRootDeviceTypes": [
+   "ebs"
+  ],
+  "SupportedUsageClasses": [
+   "on-demand"
+  ],
+  "SupportedVirtualizationTypes": [
+   "hvm"
+  ],
+  "VCpuInfo": {
+   "DefaultCores": 20,
+   "DefaultThreadsPerCore": 1,
+   "DefaultVCpus": 20
+  }
+ },
  "mac2-m2.metal": {
   "AutoRecoverySupported": false,
   "BareMetal": true,
diff --git a/moto/elbv2/models.py b/moto/elbv2/models.py
index ef82ebb3e..ca92ac9bb 100644
--- a/moto/elbv2/models.py
+++ b/moto/elbv2/models.py
@@ -197,6 +197,16 @@ class FakeTargetGroup(CloudFormationModel):
                     "Target deregistration is in progress",
                 )
 
+            if target["id"].startswith("i-"):  # EC2 instance ID
+                return FakeHealthStatus(
+                    target["id"],
+                    target.get("Port", 80),
+                    self.healthcheck_port,
+                    "unused",
+                    "Target.NotRegistered",
+                    "Target is not registered to the target group",
+                )
+
             return FakeHealthStatus(
                 target["id"],
                 port,


Test patch:
diff --git a/tests/test_elbv2/test_elbv2_target_health.py b/tests/test_elbv2/test_elbv2_target_health.py
index 847272e5d..2647839bd 100644
--- a/tests/test_elbv2/test_elbv2_target_health.py
+++ b/tests/test_elbv2/test_elbv2_target_health.py
@@ -286,8 +286,6 @@ sudo systemctl enable httpd"""
             }
         ]
 
-    except Exception as e:
-        print(e)  # noqa: T201 `print` found
     finally:
         try:  # to delete instance1 - just in case it failed to stop earlier
             ec2_client.stop_instances(InstanceIds=[instance_id1])
@@ -329,3 +327,111 @@ sudo systemctl enable httpd"""
         route_table.delete()
         ec2_client.detach_internet_gateway(InternetGatewayId=igw_id, VpcId=vpc.id)
         vpc.delete()
+        ec2_client.delete_internet_gateway(InternetGatewayId=igw_id)
+
+
+@elbv2_aws_verified()
+@pytest.mark.aws_verified
+def test_describe_unknown_targets(target_is_aws=False):
+    conn = boto3.client("elbv2", region_name="us-east-1")
+    ec2 = boto3.resource("ec2", region_name="us-east-1")
+    ec2_client = boto3.client("ec2", region_name="us-east-1")
+
+    lb_name = f"lb-{str(uuid4())[0:6]}"
+    sg_name = f"sg{str(uuid4())[0:6]}"
+    target_name = f"target-{str(uuid4())[0:6]}"
+
+    vpc = ec2.create_vpc(CidrBlock="172.28.7.0/24", InstanceTenancy="default")
+    security_group = ec2.create_security_group(
+        GroupName=sg_name, Description="a", VpcId=vpc.id
+    )
+
+    ec2_client.authorize_security_group_ingress(
+        GroupId=security_group.id,
+        IpPermissions=[{"IpProtocol": "-1", "IpRanges": [{"CidrIp": "0.0.0.0/0"}]}],
+    )
+    subnet1 = vpc.create_subnet(
+        CidrBlock="172.28.7.192/26", AvailabilityZone="us-east-1a"
+    )
+    subnet2 = vpc.create_subnet(
+        CidrBlock="172.28.7.0/26", AvailabilityZone="us-east-1b"
+    )
+
+    load_balancer_arn = listener_arn = target_group_arn = None
+    instance_id = "i-12345678901234567"
+
+    try:
+        load_balancer_arn = conn.create_load_balancer(
+            Name=lb_name,
+            Subnets=[subnet1.id, subnet2.id],
+            SecurityGroups=[security_group.id],
+            Scheme="internal",
+            Tags=[{"Key": "key_name", "Value": "a_value"}],
+        )["LoadBalancers"][0]["LoadBalancerArn"]
+        waiter = conn.get_waiter("load_balancer_available")
+        waiter.wait(LoadBalancerArns=[load_balancer_arn])
+
+        target_group_arn = conn.create_target_group(
+            Name=target_name,
+            Protocol="HTTP",
+            Port=80,
+            VpcId=vpc.id,
+            HealthCheckProtocol="HTTP",
+            HealthCheckPort="80",
+            HealthCheckPath="/",
+            HealthCheckIntervalSeconds=5,
+            HealthCheckTimeoutSeconds=3,
+            HealthyThresholdCount=5,
+            UnhealthyThresholdCount=2,
+            # Apache returns a 403 (with text: 'It Works!') by default if no other pages are available
+            Matcher={"HttpCode": "403"},
+        )["TargetGroups"][0]["TargetGroupArn"]
+
+        listener_arn = conn.create_listener(
+            LoadBalancerArn=load_balancer_arn,
+            Protocol="HTTP",
+            Port=80,
+            DefaultActions=[
+                {
+                    "Type": "forward",
+                    "TargetGroupArn": target_group_arn,
+                }
+            ],
+        )["Listeners"][0]["ListenerArn"]
+
+        healths = conn.describe_target_health(
+            TargetGroupArn=target_group_arn, Targets=[{"Id": instance_id}]
+        )["TargetHealthDescriptions"]
+        assert healths == [
+            {
+                "Target": {"Id": instance_id, "Port": 80},
+                "HealthCheckPort": "80",
+                "TargetHealth": {
+                    "State": "unused",
+                    "Reason": "Target.NotRegistered",
+                    "Description": "Target is not registered to the target group",
+                },
+            }
+        ]
+
+    finally:
+        if listener_arn:
+            conn.delete_listener(ListenerArn=listener_arn)
+
+        if target_group_arn:
+            conn.delete_target_group(TargetGroupArn=target_group_arn)
+
+        if load_balancer_arn:
+            conn.delete_load_balancer(LoadBalancerArn=load_balancer_arn)
+            waiter = conn.get_waiter("load_balancers_deleted")
+            waiter.wait(LoadBalancerArns=[load_balancer_arn])
+
+    if target_is_aws:
+        # Resources take a while to deregister
+        # Wait, so we don't get DependencyViolations when deleting the SG
+        sleep(30)
+
+        security_group.delete()
+        subnet1.delete()
+        subnet2.delete()
+        vpc.delete()