Skip to content

Commit 6ed0e3a

Browse files
committed
Meaningless commit
1 parent d3df2af commit 6ed0e3a

1 file changed

Lines changed: 79 additions & 0 deletions

File tree

SAMtemplates/parameters/main.yaml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
AWSTemplateFormatVersion: '2010-09-09'
2+
Description: >-
3+
SSM Parameter Store entries. Values may differ between prod and non-prod environments
4+
5+
Parameters:
6+
StackName:
7+
Type: String
8+
9+
Environment:
10+
Type: String
11+
12+
Conditions:
13+
IsProd: !Equals [ !Ref Environment, prod ]
14+
15+
Resources:
16+
EnabledSiteODSCodesParameter:
17+
Type: AWS::SSM::Parameter
18+
Properties:
19+
Name: !Sub ${StackName}-PSUNotifyEnabledSiteODSCodes
20+
Description: "List of site ODS codes for which notifications are enabled"
21+
Type: String
22+
Value: !If
23+
- IsProd
24+
- > # Prod notification enabled
25+
FA565
26+
- > # Non-prod
27+
FA565
28+
29+
EnabledSystemsParameter:
30+
Type: AWS::SSM::Parameter
31+
Properties:
32+
Name: !Sub ${StackName}-PSUNotifyEnabledSystems
33+
Description: "List of application names for which notifications are enabled"
34+
Type: String
35+
Value: !If
36+
- IsProd
37+
- > # Prod notification enabled
38+
Apotec Ltd - Apotec CRM - Production,
39+
CrxPatientApp,
40+
nhsPrescriptionApp,
41+
Titan PSU Prod
42+
- > # Non-prodfdsaafdsa
43+
Internal Test System,
44+
Apotec Ltd - Apotec CRM - Production,
45+
CrxPatientApp,
46+
nhsPrescriptionApp,
47+
Titan PSU Prod
48+
49+
BlockedSiteODSCodesParameter:
50+
Type: AWS::SSM::Parameter
51+
Properties:
52+
Name: !Sub ${StackName}-PSUNotifyBlockedSiteODSCodes
53+
Description: "List of site ODS codes for which notifications are blocked"
54+
Type: String
55+
Value: !If
56+
- IsProd
57+
- > # Prod notification disabled
58+
A83008
59+
- > # Non-prod
60+
A83008
61+
62+
Outputs:
63+
EnabledSiteODSCodesParameterName:
64+
Description: "Name of the SSM parameter holding enabled site ODS codes"
65+
Value: !Ref EnabledSiteODSCodesParameter
66+
Export:
67+
Name: !Sub ${StackName}-PSUNotifyEnabledSiteODSCodesParam
68+
69+
EnabledSystemsParameterName:
70+
Description: "Name of the SSM parameter holding enabled system names"
71+
Value: !Ref EnabledSystemsParameter
72+
Export:
73+
Name: !Sub ${StackName}-PSUNotifyEnabledSystemsParam
74+
75+
BlockedSiteODSCodesParameterName:
76+
Description: "Name of the SSM parameter holding blocked site ODS codes"
77+
Value: !Ref BlockedSiteODSCodesParameter
78+
Export:
79+
Name: !Sub ${StackName}-PSUNotifyBlockedSiteODSCodesParam

0 commit comments

Comments
 (0)