Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
Add environment to the nested yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
VimukthiPerera authored and ThilinaManamgoda committed Jul 28, 2020
1 parent dc78b82 commit 4a031c5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Minimum-HA/nested-identity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ Resources:
OperatingSystem: !Ref BastionOperatingSystem
Tags:
- Key: Name
Value: WSO2Network
Value: !Sub ${EnvironmentName} WSO2Network

Database:
Type: AWS::CloudFormation::Stack
Expand All @@ -287,12 +287,13 @@ Resources:
DB: !Ref DB
DBAllocationStorage: !Ref DBAllocationStorage
DBInstanceType: !Ref DBInstanceType
EnvironmentName: !Ref EnvironmentName
WSO2VPC: !GetAtt WSO2Network.Outputs.VPC
WSO2PrivateSubnet1: !GetAtt WSO2Network.Outputs.PrivateSubnet1
WSO2PrivateSubnet2: !GetAtt WSO2Network.Outputs.PrivateSubnet2
Tags:
- Key: Name
Value: WSO2Database
Value: !Sub ${EnvironmentName} WSO2Database

WSO2IdentityServerSetup:
Type: AWS::CloudFormation::Stack
Expand All @@ -309,6 +310,7 @@ Resources:
DB: !Ref DB
ElasticSearchEndpoint: !Ref ElasticSearchEndpoint
ElasticSearchRegion: !Ref ElasticSearchRegion
EnvironmentName: !Ref EnvironmentName
JDK: !Ref JDK
KeyPairName: !Ref KeyPairName
OperatingSystem: !Ref OperatingSystem
Expand All @@ -322,7 +324,7 @@ Resources:
WSO2ISPublicSubnet2: !GetAtt WSO2Network.Outputs.PublicSubnet2
Tags:
- Key: Name
Value: WSO2IdentityServerSetup
Value: !Sub ${EnvironmentName} WSO2IdentityServerSetup

Outputs:
MgtConsoleUrl:
Expand Down

0 comments on commit 4a031c5

Please sign in to comment.