From 98d7262d79f4ddcfc36725e09c91b3ccc9a9e92f Mon Sep 17 00:00:00 2001 From: Ujwal Jagadeesh <59735375+yoU-Jay@users.noreply.github.com> Date: Sun, 25 Apr 2021 22:24:59 +0530 Subject: [PATCH 1/3] missing line 'Condition: BBBScalableEnvironment ' should be added after line 90. Error Caused: CREATE_FAILED Template format error: Unresolved resource dependencies [BBBFrontendELBSecurityGroup] in the Resources block of the template. Above error is caused while deploying 'Single Server deployments' and can be solved by adding the condition line after line 90. --- templates/bbb-on-aws-securitygroups.template.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/bbb-on-aws-securitygroups.template.yaml b/templates/bbb-on-aws-securitygroups.template.yaml index 9269117..35c0a2b 100644 --- a/templates/bbb-on-aws-securitygroups.template.yaml +++ b/templates/bbb-on-aws-securitygroups.template.yaml @@ -88,6 +88,7 @@ Resources: BBBECSSecurityGroupPublicHTTP: Type: AWS::EC2::SecurityGroupIngress + Condition: BBBScalableEnvironment Properties: CidrIp: 0.0.0.0/0 IpProtocol: tcp @@ -294,4 +295,4 @@ Outputs: BBBSharedStorageSecurityGroup: Condition: BBBScalableEnvironment Description: A reference to the created Security Group for the SharedStorage - Value: !Ref BBBSharedStorageSecurityGroup \ No newline at end of file + Value: !Ref BBBSharedStorageSecurityGroup From f675a2a396a17ddb546bc23a5d339d5051f13f0f Mon Sep 17 00:00:00 2001 From: Ujwal Jagadeesh <59735375+yoU-Jay@users.noreply.github.com> Date: Sun, 25 Apr 2021 22:43:22 +0530 Subject: [PATCH 2/3] Update bbb-on-aws-securitygroups.template.yaml --- templates/bbb-on-aws-securitygroups.template.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/bbb-on-aws-securitygroups.template.yaml b/templates/bbb-on-aws-securitygroups.template.yaml index 35c0a2b..e3e05c0 100644 --- a/templates/bbb-on-aws-securitygroups.template.yaml +++ b/templates/bbb-on-aws-securitygroups.template.yaml @@ -88,7 +88,6 @@ Resources: BBBECSSecurityGroupPublicHTTP: Type: AWS::EC2::SecurityGroupIngress - Condition: BBBScalableEnvironment Properties: CidrIp: 0.0.0.0/0 IpProtocol: tcp From a46a33b537a99ac8bd9ccba85e0f9b4c0c0feff6 Mon Sep 17 00:00:00 2001 From: Ujwal Jagadeesh <59735375+yoU-Jay@users.noreply.github.com> Date: Sun, 25 Apr 2021 22:46:48 +0530 Subject: [PATCH 3/3] Fixed the following Error when BBBEnvironmentType is set as 'single' 'Condition: BBBScalableEnvironment ' should be added after line 90. Error Caused: CREATE_FAILED Template format error: Unresolved resource dependencies [BBBFrontendELBSecurityGroup] in the Resources block of the template. Above error is caused while deploying 'Single Server deployments' and can be solved by adding the condition line after line 90. --- templates/bbb-on-aws-securitygroups.template.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/bbb-on-aws-securitygroups.template.yaml b/templates/bbb-on-aws-securitygroups.template.yaml index e3e05c0..35c0a2b 100644 --- a/templates/bbb-on-aws-securitygroups.template.yaml +++ b/templates/bbb-on-aws-securitygroups.template.yaml @@ -88,6 +88,7 @@ Resources: BBBECSSecurityGroupPublicHTTP: Type: AWS::EC2::SecurityGroupIngress + Condition: BBBScalableEnvironment Properties: CidrIp: 0.0.0.0/0 IpProtocol: tcp