Skip to content

Commit

Permalink
Add m7a EC2 instance types (#2965)
Browse files Browse the repository at this point in the history
fixes issue #2939

---------

Co-authored-by: Ian Wahbe <[email protected]>
  • Loading branch information
rishav-karanjit and iwahbe authored Nov 23, 2023
1 parent e4328eb commit c630864
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 0 deletions.
48 changes: 48 additions & 0 deletions provider/cmd/pulumi-resource-aws/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37315,6 +37315,54 @@
"name": "M6id_Metal",
"value": "m6id.metal"
},
{
"name": "M7a_Medium",
"value": "m7a.medium"
},
{
"name": "M7a_Large",
"value": "m7a.large"
},
{
"name": "M7a_XLarge",
"value": "m7a.xlarge"
},
{
"name": "M7a_2XLarge",
"value": "m7a.2xlarge"
},
{
"name": "M7a_4XLarge",
"value": "m7a.4xlarge"
},
{
"name": "M7a_8XLarge",
"value": "m7a.8xlarge"
},
{
"name": "M7a_12XLarge",
"value": "m7a.12xlarge"
},
{
"name": "M7a_16XLarge",
"value": "m7a.16xlarge"
},
{
"name": "M7a_24XLarge",
"value": "m7a.24xlarge"
},
{
"name": "M7a_32XLarge",
"value": "m7a.32xlarge"
},
{
"name": "M7a_48XLarge",
"value": "m7a.48xlarge"
},
{
"name": "M7a_Metal",
"value": "m7a.metal-48xl"
},
{
"name": "Mac1_Metal",
"value": "mac1.metal"
Expand Down
12 changes: 12 additions & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -4503,6 +4503,18 @@ $ pulumi import aws:networkfirewall/resourcePolicy:ResourcePolicy example arn:aw
{Name: "M6id_24XLarge", Value: "m6id.24xlarge"},
{Name: "M6id_32XLarge", Value: "m6id.32xlarge"},
{Name: "M6id_Metal", Value: "m6id.metal"},
{Name: "M7a_Medium", Value: "m7a.medium"},
{Name: "M7a_Large", Value: "m7a.large"},
{Name: "M7a_XLarge", Value: "m7a.xlarge"},
{Name: "M7a_2XLarge", Value: "m7a.2xlarge"},
{Name: "M7a_4XLarge", Value: "m7a.4xlarge"},
{Name: "M7a_8XLarge", Value: "m7a.8xlarge"},
{Name: "M7a_12XLarge", Value: "m7a.12xlarge"},
{Name: "M7a_16XLarge", Value: "m7a.16xlarge"},
{Name: "M7a_24XLarge", Value: "m7a.24xlarge"},
{Name: "M7a_32XLarge", Value: "m7a.32xlarge"},
{Name: "M7a_48XLarge", Value: "m7a.48xlarge"},
{Name: "M7a_Metal", Value: "m7a.metal-48xl"},
{Name: "Mac1_Metal", Value: "mac1.metal"},
{Name: "P2_16XLarge", Value: "p2.16xlarge"},
{Name: "P2_8XLarge", Value: "p2.8xlarge"},
Expand Down
12 changes: 12 additions & 0 deletions sdk/dotnet/Ec2/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,18 @@ private InstanceType(string value)
public static InstanceType M6id_24XLarge { get; } = new InstanceType("m6id.24xlarge");
public static InstanceType M6id_32XLarge { get; } = new InstanceType("m6id.32xlarge");
public static InstanceType M6id_Metal { get; } = new InstanceType("m6id.metal");
public static InstanceType M7a_Medium { get; } = new InstanceType("m7a.medium");
public static InstanceType M7a_Large { get; } = new InstanceType("m7a.large");
public static InstanceType M7a_XLarge { get; } = new InstanceType("m7a.xlarge");
public static InstanceType M7a_2XLarge { get; } = new InstanceType("m7a.2xlarge");
public static InstanceType M7a_4XLarge { get; } = new InstanceType("m7a.4xlarge");
public static InstanceType M7a_8XLarge { get; } = new InstanceType("m7a.8xlarge");
public static InstanceType M7a_12XLarge { get; } = new InstanceType("m7a.12xlarge");
public static InstanceType M7a_16XLarge { get; } = new InstanceType("m7a.16xlarge");
public static InstanceType M7a_24XLarge { get; } = new InstanceType("m7a.24xlarge");
public static InstanceType M7a_32XLarge { get; } = new InstanceType("m7a.32xlarge");
public static InstanceType M7a_48XLarge { get; } = new InstanceType("m7a.48xlarge");
public static InstanceType M7a_Metal { get; } = new InstanceType("m7a.metal-48xl");
public static InstanceType Mac1_Metal { get; } = new InstanceType("mac1.metal");
public static InstanceType P2_16XLarge { get; } = new InstanceType("p2.16xlarge");
public static InstanceType P2_8XLarge { get; } = new InstanceType("p2.8xlarge");
Expand Down
12 changes: 12 additions & 0 deletions sdk/go/aws/ec2/pulumiEnums.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions sdk/java/src/main/java/com/pulumi/aws/ec2/enums/InstanceType.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,18 @@ public enum InstanceType {
M6id_24XLarge("m6id.24xlarge"),
M6id_32XLarge("m6id.32xlarge"),
M6id_Metal("m6id.metal"),
M7a_Medium("m7a.medium"),
M7a_Large("m7a.large"),
M7a_XLarge("m7a.xlarge"),
M7a_2XLarge("m7a.2xlarge"),
M7a_4XLarge("m7a.4xlarge"),
M7a_8XLarge("m7a.8xlarge"),
M7a_12XLarge("m7a.12xlarge"),
M7a_16XLarge("m7a.16xlarge"),
M7a_24XLarge("m7a.24xlarge"),
M7a_32XLarge("m7a.32xlarge"),
M7a_48XLarge("m7a.48xlarge"),
M7a_Metal("m7a.metal-48xl"),
Mac1_Metal("mac1.metal"),
P2_16XLarge("p2.16xlarge"),
P2_8XLarge("p2.8xlarge"),
Expand Down
12 changes: 12 additions & 0 deletions sdk/nodejs/types/enums/ec2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,18 @@ export const InstanceType = {
M6id_24XLarge: "m6id.24xlarge",
M6id_32XLarge: "m6id.32xlarge",
M6id_Metal: "m6id.metal",
M7a_Medium: "m7a.medium",
M7a_Large: "m7a.large",
M7a_XLarge: "m7a.xlarge",
M7a_2XLarge: "m7a.2xlarge",
M7a_4XLarge: "m7a.4xlarge",
M7a_8XLarge: "m7a.8xlarge",
M7a_12XLarge: "m7a.12xlarge",
M7a_16XLarge: "m7a.16xlarge",
M7a_24XLarge: "m7a.24xlarge",
M7a_32XLarge: "m7a.32xlarge",
M7a_48XLarge: "m7a.48xlarge",
M7a_Metal: "m7a.metal-48xl",
Mac1_Metal: "mac1.metal",
P2_16XLarge: "p2.16xlarge",
P2_8XLarge: "p2.8xlarge",
Expand Down
12 changes: 12 additions & 0 deletions sdk/python/pulumi_aws/ec2/_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,18 @@ class InstanceType(str, Enum):
M6ID_24_X_LARGE = "m6id.24xlarge"
M6ID_32_X_LARGE = "m6id.32xlarge"
M6ID_METAL = "m6id.metal"
M7A_MEDIUM = "m7a.medium"
M7A_LARGE = "m7a.large"
M7A_X_LARGE = "m7a.xlarge"
M7A_2_X_LARGE = "m7a.2xlarge"
M7A_4_X_LARGE = "m7a.4xlarge"
M7A_8_X_LARGE = "m7a.8xlarge"
M7A_12_X_LARGE = "m7a.12xlarge"
M7A_16_X_LARGE = "m7a.16xlarge"
M7A_24_X_LARGE = "m7a.24xlarge"
M7A_32_X_LARGE = "m7a.32xlarge"
M7A_48_X_LARGE = "m7a.48xlarge"
M7A_METAL = "m7a.metal-48xl"
MAC1_METAL = "mac1.metal"
P2_16_X_LARGE = "p2.16xlarge"
P2_8_X_LARGE = "p2.8xlarge"
Expand Down

0 comments on commit c630864

Please sign in to comment.