From 66fcca3110b511c8bd3e7b2dc47e726353bdcc05 Mon Sep 17 00:00:00 2001
From: Eigil Sagafos <eigil@shiftx.com>
Date: Thu, 4 Apr 2024 10:53:00 -0700
Subject: [PATCH] Update classic vpc nat gatway to use domain: 'vpc' instead of
 deprecated vpc: true

---
 awsx-classic/ec2/natGateway.ts       | 2 +-
 sdk/nodejs/classic/ec2/natGateway.ts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/awsx-classic/ec2/natGateway.ts b/awsx-classic/ec2/natGateway.ts
index 77f69cdd6..2a404ec9f 100644
--- a/awsx-classic/ec2/natGateway.ts
+++ b/awsx-classic/ec2/natGateway.ts
@@ -49,7 +49,7 @@ export class NatGateway
             // communicate with the internet.
 
             this.elasticIP = new aws.ec2.Eip(name, {
-                vpc: true,
+                domain: 'vpc',
                 tags: { Name: name },
             }, { parent: this });
 
diff --git a/sdk/nodejs/classic/ec2/natGateway.ts b/sdk/nodejs/classic/ec2/natGateway.ts
index 77f69cdd6..2a404ec9f 100644
--- a/sdk/nodejs/classic/ec2/natGateway.ts
+++ b/sdk/nodejs/classic/ec2/natGateway.ts
@@ -49,7 +49,7 @@ export class NatGateway
             // communicate with the internet.
 
             this.elasticIP = new aws.ec2.Eip(name, {
-                vpc: true,
+                domain: 'vpc',
                 tags: { Name: name },
             }, { parent: this });