Skip to content

Commit 201d44d

Browse files
authored
feat(vpn): Add Site-to-Site VPN management initially for AWS and Azure (#164)
- Created templates for AWS and Azure VPN resources, which consist of each CSP's VPN gateway resource and VPN connection module between the two. - Enhanced variable definitions for VPN configuration in the infracode, ensuring flexibility and clarity in resource management. - Added REST API handlers for Site-to-Site VPN operations, including Create, Get, and Delete. - Implemented validation logic for VPN configuration, ensuring correct parameters are provided. - Added `apipa_cidrs` property for Azure configuration and updated infracode. - Updated API docs. - Tested for functionality and API operation.
1 parent eb327e0 commit 201d44d

27 files changed

+3558
-104
lines changed

api/docs.go

Lines changed: 626 additions & 15 deletions
Large diffs are not rendered by default.

api/swagger.json

Lines changed: 626 additions & 15 deletions
Large diffs are not rendered by default.

api/swagger.yaml

Lines changed: 415 additions & 0 deletions
Large diffs are not rendered by default.

pkg/api/rest/handler/vpn-aws-to-site-actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ func outputAwsToSiteVpn(c echo.Context) (model.Response, error) {
432432
case DetailOptions.Refined:
433433

434434
/*
435-
* NOTE: Set the output object (e.g., "testbed_info") to get the refined resource info
435+
* NOTE: Set the output object (e.g., "vpn_info") to get the refined resource info
436436
*/
437437

438438
trInfo, exists, err := terrarium.GetInfo(trId)

0 commit comments

Comments
 (0)