Skip to content
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

AWS CFT | Updated cluster templates outputs #339

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
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
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
Loading