From 93182937aad57684340dfcad11d262ff8046bc50 Mon Sep 17 00:00:00 2001 From: Eigil Sagafos Date: Wed, 10 Apr 2024 14:25:04 -0700 Subject: [PATCH] Update classic vpc nat gateway to use `domain: "vpc"` instead of deprecated `vpc: true` (#1255) --- 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..ce9823e6c 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..ce9823e6c 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 });