mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
feat(ec2): add instance metadata catalog and architecture parity (#1596)
* fix(ec2): expose instance processor architectures * feat(ec2): add instance type metadata catalog * fix(ec2): enforce instance architecture parity * fix(ec2): tighten instance metadata parity
This commit is contained in:
1 parent
8893d2c51e
commit
c233eb4891
10 files changed
+212
-11
No files matched your search
@@ -158,6 +158,19 @@ class Ec2Tests {
|
||||
assertThat(resp.instanceTypes()).isNotEmpty();
|
||||
}
|
||||
|
||||
@Test
|
||||
@Order(7)
|
||||
@DisplayName("DescribeInstanceTypes - processor architectures")
|
||||
void describeInstanceTypeProcessorArchitectures() {
|
||||
DescribeInstanceTypesResponse resp = ec2.describeInstanceTypes(DescribeInstanceTypesRequest.builder()
|
||||
.instanceTypes(InstanceType.fromValue("m6gd.2xlarge"))
|
||||
.build());
|
||||
|
||||
assertThat(resp.instanceTypes()).hasSize(1);
|
||||
assertThat(resp.instanceTypes().get(0).processorInfo().supportedArchitecturesAsStrings())
|
||||
.containsExactly("arm64");
|
||||
}
|
||||
|
||||
@Test
|
||||
@Order(8)
|
||||
@DisplayName("CreateVpc - create VPC with CIDR")
|
||||
|
||||
Reference in new issue
Block a user