Skip to content

Commit

Permalink
Added external private ip to single gw output
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-nimrodgab committed Mar 24, 2024
1 parent 0b1ef5e commit ab34ab4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aws/templates/single-gw/gateway-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions aws/templates/single-gw/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit ab34ab4

Please sign in to comment.