Skip to content

AWS CFT | Added external private ip to single gw output #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions aws/templates/single-gw/gateway-master.yaml
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 3 additions & 0 deletions aws/templates/single-gw/gateway.yaml
Original file line number Diff line number Diff line change
@@ -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]]