From ab34ab40bf17a77dc7ecfabd194a684591eb6d8c Mon Sep 17 00:00:00 2001 From: nimrodgab Date: Sun, 24 Mar 2024 11:36:29 +0200 Subject: [PATCH] Added external private ip to single gw output --- aws/templates/single-gw/gateway-master.yaml | 3 +++ aws/templates/single-gw/gateway.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/aws/templates/single-gw/gateway-master.yaml b/aws/templates/single-gw/gateway-master.yaml index bc1e7147..2ac84b13 100755 --- a/aws/templates/single-gw/gateway-master.yaml +++ b/aws/templates/single-gw/gateway-master.yaml @@ -464,6 +464,9 @@ Outputs: Condition: AllocateAddress Description: The public address of the Check Point instance. Value: !GetAtt GatewayStack.Outputs.PublicAddress + CheckPointInstancePrivateExternalAddress: + Description: The private external address of the Check Point instance. + Value: !GetAtt GatewayStack.Outputs.PrivateExternalAddress CheckPointInstanceSSH: Condition: AllocateAddress Description: SSH command to the Check Point instance. diff --git a/aws/templates/single-gw/gateway.yaml b/aws/templates/single-gw/gateway.yaml index da41792a..e0c57295 100755 --- a/aws/templates/single-gw/gateway.yaml +++ b/aws/templates/single-gw/gateway.yaml @@ -562,6 +562,9 @@ Outputs: Description: The public address of the Check Point instance. Value: !Ref PublicAddress Condition: AllocateAddress + PrivateExternalAddress: + Description: The private external address of the Check Point instance. + Value: !GetAtt ExternalNetworkInterface.PrimaryPrivateIpAddress SSH: Description: SSH command to the Check Point instance. Value: !Join ['', ['ssh -i ', !Ref KeyName, ' admin@', !Ref PublicAddress]]