Skip to content

Commit

Permalink
Update classic vpc nat gateway to use domain: "vpc" instead of depr…
Browse files Browse the repository at this point in the history
…ecated `vpc: true` (#1255)
  • Loading branch information
eigilsagafos committed Apr 10, 2024
1 parent e3d30d6 commit 9318293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion awsx-classic/ec2/natGateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/classic/ec2/natGateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand Down

0 comments on commit 9318293

Please sign in to comment.