I have 2 AWS Accounts, A & B. Account A has a site-to-site vpn connection with an on-prem infrastructure and it is using Virtual Private Gateway and Customer Gateway as usual. I have configured all Subnets in Account "A" with a route to the on-prem CIDR (on-prem CIDR -> virtual private gateway). Now I would like to allow my AWS Account "B" subnets to have access to this on-prem network via my AWS Account "A". How to archive that?
I already tried updating the existing VPC Peering I have between AWS "A" and "B", I tried to enable "propagate: true" in AWS "A" routing tables. I have also tried to create a Transit Gateway in AWS "A" and share it with AWS "B" and then created static routes in Transit Gateway to route traffic to on-prem CIDR.
None of that is working, what is the best way to share a Virtual Private Gateway with other AWS Accounts?
Regards!