Skip to content

Conversation

@jamesgibbons92
Copy link
Collaborator

@jamesgibbons92 jamesgibbons92 commented Jan 21, 2026

closes #6309
This fixes a couple of issues with the tunnel using imported VPC (i.e through sst.aws.Vpc.get())

  • Tunnel did not work for imported VPCs using Nat instances, as there was no way to query the elastic ip.
  • Tunnel did not work for VPC and imported EIPs (i.e., EIP that were passed in via the nat.ip prop). Because the elastic ips were not fetched and saved in the output.
  • Fix bug where the natInstances output was not being used.

Scenarios tested (test case is that the tunnel is able to connect and I am able to ping a private ip address in the vpc):

  • VPC with no nat ✔️
  • Shared VPC with no nat ✔️
  • VPC with nat instances ✔️
  • Shared VPC with nat instances ✔️
  • VPC with nat instances and imported EIPS ✔️
  • Shared VPC with nat instances and imported EIPS ✔️
  • VPC with managed nat gateway ✔️
  • Shared VPC with managed nat gateway ✔️
  • VPC with managed nat gateway and imported EIPS ✔️
  • Shared VPC with managed nat gateway and imported EIPS ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VPC NAT Instance Elastic IP issues - tunnel and static get related

1 participant