Skip to content

Commit

Permalink
Update classic vpc nat gatway to use domain: 'vpc' instead of depreca…
Browse files Browse the repository at this point in the history
…ted vpc: true
  • Loading branch information
eigilsagafos committed Apr 4, 2024
1 parent 0390f0d commit 66fcca3
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 66fcca3

Please sign in to comment.