Skip to content

Commit

Permalink
Updated cluster templates outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-nimrodgab committed Feb 14, 2024
1 parent d20ff9b commit 9829e79
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
22 changes: 22 additions & 0 deletions aws/templates/cluster/cluster-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,16 @@ Outputs:
Condition: AllocateAddress
Description: URL to the member A portal.
Value: !GetAtt ClusterStack.Outputs.MemberAURL
MemberAExternalInterface:
Condition: AllocateAddress
Description: The external interface of member A.
Value: !GetAtt ClusterStack.Outputs.MemberAExternalInterface
MemberAPrivateExternalAddress:
Description: The private external address of member A.
Value: !GetAtt ClusterStack.Outputs.MemberAPrivateExternalAddress
MemberAPrivateInternalAddress:
Description: The private internal address of member A.
Value: !GetAtt ClusterStack.Outputs.MemberAPrivateInternalAddress
MemberBPublicAddress:
Condition: AllocateAddress
Description: The public address of member B.
Expand All @@ -468,6 +478,18 @@ Outputs:
Condition: AllocateAddress
Description: URL to the member B portal.
Value: !GetAtt ClusterStack.Outputs.MemberBURL
MemberBPrivateExternalAddress:
Description: The private external address of member B.
Value: !GetAtt ClusterStack.Outputs.MemberBPrivateExternalAddress
MemberBPrivateInternalAddress:
Description: The private internal address of member B.
Value: !GetAtt ClusterStack.Outputs.MemberBPrivateInternalAddress
ClusterPrivateAliasExternalAddress:
Description: The secondary external private IP address of the cluster.
Value: !GetAtt ClusterStack.Outputs.ClusterPrivateAliasExternalAddress
ClusterPrivateAliasInternalAddress:
Description: The secondary internal private IP address of the cluster.
Value: !GetAtt ClusterStack.Outputs.ClusterPrivateAliasInternalAddress
Rules:
MemberATokenNotProvided:
RuleCondition: !Equals [!Ref MemberAToken, '']
Expand Down
22 changes: 22 additions & 0 deletions aws/templates/cluster/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,16 @@ Outputs:
Condition: AllocateAddress
Description: URL to the member A portal.
Value: !Join ['', ['https://', !Ref MemberAPublicAddress]]
MemberAExternalInterface:
Condition: AllocateAddress
Description: The external interface of member A.
Value: !Ref MemberAExternalInterface
MemberAPrivateExternalAddress:
Description: The private external address of member A.
Value: !GetAtt MemberAExternalInterface.PrimaryPrivateIpAddress
MemberAPrivateInternalAddress:
Description: The private internal address of member A.
Value: !GetAtt MemberAInternalInterface.PrimaryPrivateIpAddress
MemberBPublicAddress:
Condition: AllocateAddress
Description: The public address of member B.
Expand All @@ -668,6 +678,18 @@ Outputs:
Condition: AllocateAddress
Description: URL to the member B portal.
Value: !Join ['', ['https://', !Ref MemberBPublicAddress]]
MemberBPrivateExternalAddress:
Description: The private external address of member B.
Value: !GetAtt MemberBExternalInterface.PrimaryPrivateIpAddress
MemberBPrivateInternalAddress:
Description: The private internal address of member B.
Value: !GetAtt MemberBInternalInterface.PrimaryPrivateIpAddress
ClusterPrivateAliasExternalAddress:
Description: The secondary external private IP address of the cluster.
Value: !Select [ 0, !GetAtt MemberAExternalInterface.SecondaryPrivateIpAddresses ]
ClusterPrivateAliasInternalAddress:
Description: The secondary internal private IP address of the cluster.
Value: !Select [ 0, !GetAtt MemberAInternalInterface.SecondaryPrivateIpAddresses ]

Rules:
MemberATokenNotProvided:
Expand Down
22 changes: 22 additions & 0 deletions aws/templates/cross-az-cluster/cross-az-cluster-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,19 @@ Outputs:
Condition: AllocateAddress
Description: URL to the member A portal.
Value: !GetAtt ClusterStack.Outputs.MemberAURL
MemberAExternalInterface:
Condition: AllocateAddress
Description: The external interface of member A.
Value: !GetAtt ClusterStack.Outputs.MemberAExternalInterface
MemberAPrivateExternalAddress:
Description: The primary external private address of member A.
Value: !GetAtt ClusterStack.Outputs.MemberAPrivateExternalAddress
MemberAPrivateAliasAddress:
Description: The secondary external private IP address of Member A.
Value: !GetAtt ClusterStack.Outputs.MemberAPrivateAliasAddress
MemberAPrivateInternalAddress:
Description: The private Internal address of member A.
Value: !GetAtt ClusterStack.Outputs.MemberAPrivateInternalAddress
MemberBPublicAddress:
Condition: AllocateAddress
Description: The public address of member B.
Expand All @@ -471,6 +484,15 @@ Outputs:
Condition: AllocateAddress
Description: URL to the member B portal.
Value: !GetAtt ClusterStack.Outputs.MemberBURL
MemberBPrivateExternalAddress:
Description: The primary external private address of member B.
Value: !GetAtt ClusterStack.Outputs.MemberBPrivateExternalAddress
MemberBPrivateAliasAddress:
Description: The secondary external private IP address of Member B.
Value: !GetAtt ClusterStack.Outputs.MemberBPrivateAliasAddress
MemberBPrivateInternalAddress:
Description: The private Internal address of member B.
Value: !GetAtt ClusterStack.Outputs.MemberBPrivateInternalAddress
Rules:
MemberATokenNotProvided:
RuleCondition: !Equals [!Ref MemberAToken, '']
Expand Down

0 comments on commit 9829e79

Please sign in to comment.