Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
457 commits
Select commit Hold shift + click to select a range
48ce393
DSUEC-109 Skip Palliative Care Check (#640)
JackPlowman Mar 13, 2023
05abb4f
DSUEC-125 Pin Bandit Version (#653)
JackPlowman Mar 14, 2023
cf7c558
DSUEC-506 Test Failure Resolution Step (#655)
Corbisc Mar 14, 2023
b36f9ce
DS-550 Update DoS DB URLS and SGs for Demo and Live in preparation fo…
mabe13 Mar 20, 2023
5202245
Increase CodeQL vulnerability scanning (#659)
JackPlowman Mar 24, 2023
e493a40
DSUEC-125 Fix Security Warning Messages (#654)
JackPlowman Mar 24, 2023
1e00b09
DSUEC-129 Log only Type 13 to Unexpected Pharmacy Profiling Report (#…
JackPlowman Mar 24, 2023
ad17b73
DSUEC-578 Service Error Report Integration Tests (#661)
Corbisc Mar 27, 2023
d7f4f81
DSUEC-118 Migrate to New Pipeline Roles (#649)
JackPlowman Mar 28, 2023
42ea4fc
DSUEC-46 Update Palliative Care on DoS Service (#617)
JackPlowman Mar 30, 2023
ef73a74
DSUEC-99 Create Integration Tests for DSUEC-46 (#633)
Corbisc Mar 30, 2023
ff0b95a
DSUEC-511 Add security headers to API Gateway (#662)
JackPlowman Apr 3, 2023
e9283da
DSUEC-524 Add Prospective Architecture Diagrams (#660)
JackPlowman Apr 12, 2023
8a9073f
DS-128 Update DoS Version (#667)
JackPlowman Apr 17, 2023
47e5628
DS-513 Add Server Access Logging (#665)
JackPlowman Apr 17, 2023
e16571d
DSUEC-106 Validate SDSGID Combination (#638)
JackPlowman Apr 17, 2023
96fd008
DS-638 Add Object Encryption to File Upload (#668)
JackPlowman Apr 18, 2023
2660651
DS-673 Revert Back to Previous DoS DB Endpoints (#669)
mabe13 Apr 18, 2023
39cccd3
DS-705 Fix Bucket Acl Issue (#673)
JackPlowman Apr 24, 2023
0c2d751
DI-706 Disable Logging Bucket (#674)
JackPlowman Apr 24, 2023
e33bd2d
DS-705 Fix Depends On Removed Resources (#675)
JackPlowman Apr 24, 2023
cd0eed7
DS-717 Change Branch Number Prefix (#676)
JackPlowman Apr 25, 2023
6a05aa5
DS-711 Update Perf2 profile (#677)
JackPlowman Apr 25, 2023
5e8743e
DS-128 Add Improving Performance ADR (#666)
JackPlowman Apr 25, 2023
6ec1148
DS-719 Improve Palliative Care Logging (#680)
JackPlowman Apr 26, 2023
581e686
DS-744 Add Quality of Life Updates (#682)
JackPlowman May 9, 2023
f357ae0
DS-747 Add Data Item Update Metrics (#683)
JackPlowman May 10, 2023
9fff863
DS-707 Add Server Access Logging (#678)
JackPlowman May 11, 2023
178736b
DS-774 Broken F001SXX3 Integration Test (#688)
JackPlowman May 11, 2023
88fa4de
DS-780 Apply Ruff to Application Folder (#689)
JackPlowman May 17, 2023
7534617
DS-835 Update Metrics Dimensions for Service Updates (#694)
JackPlowman May 25, 2023
afb606a
DS-817 Add Region to Blank Opening Times Report (#690)
JackPlowman May 26, 2023
84c5625
DS-785 Refactoring ChangesToDoS class (#692)
mabe13 May 30, 2023
12825ba
DS-839 Refactor Integration and Performance Test Suites (#695)
JackPlowman May 30, 2023
ae49985
DS-86 Refactor PreRelease Pipeline (#698)
JackPlowman May 30, 2023
25600af
Fix AWS_PROFILE variable in Pipelines (#700)
JackPlowman May 31, 2023
f1234a4
DS-845 Remove GitHub Warnings and More Ruff Refactoring (#697)
JackPlowman May 31, 2023
69b2703
DS-836 Update perf and perf2 Connection Variables (#693)
JackPlowman May 31, 2023
44e8303
DS-692 Update Profiles for Aurora Connections (#691)
JackPlowman May 31, 2023
dd1e22c
DS-859 Add make target to remove all development environments (#701)
JackPlowman Jun 1, 2023
4f96c12
DS-881 Improve Report Logging Tests (#710)
JackPlowman Jun 5, 2023
94bf484
DS-896 Remove Old Environment Work Arounds (#713)
JackPlowman Jun 8, 2023
8552b4f
DS-914 Update Build Environment to include Integration Tests (#716)
JackPlowman Jun 12, 2023
c4eb15a
DS-904 Remove Old Dentist Reports and Scripts (#717)
JackPlowman Jun 13, 2023
1b7acf5
DS-885 Remove Palliative Care Changed Report Logging (#718)
JackPlowman Jun 13, 2023
d0c75f1
DS-928 CloudWatch Log Insights Query Retry Process (#730)
JackPlowman Jun 14, 2023
9614451
DS-933 Revert New Aurora Connection Details (#732)
JackPlowman Jun 14, 2023
e983156
DS-929 Update Remove Staff Key Job (#729)
JackPlowman Jun 15, 2023
26b2fb8
DS-913 Separate Non Common Functions (#731)
JackPlowman Jun 19, 2023
5ec189e
DS-818 Update Service Sync Reports (#708)
JackPlowman Jun 19, 2023
216c421
DS-903 Add Production Smoke Test (#734)
JackPlowman Jun 20, 2023
151b2da
DS-897 Remove DynamoDB Job (#736)
JackPlowman Jun 20, 2023
0a003c9
DS-961 Update Dependabot Configuration (#737)
JackPlowman Jun 20, 2023
8d91f1d
DS-930 Reduce AppConfig Costs (#733)
JackPlowman Jun 20, 2023
d56b49f
DS-962 Add Production Smoke Test to Development Pipeline (#738)
JackPlowman Jun 21, 2023
c2ef19d
DS-65 Add CICD Rollback Testing (#748)
JackPlowman Jun 21, 2023
7be5f70
DS-771 Update Service Matcher Reports (#719)
JackPlowman Jun 23, 2023
b18d3d8
DS-1000 Refactor Development and Deployment Tools (#749)
JackPlowman Jun 23, 2023
f4bff76
DS-1003 Fix Smoke Test (#750)
JackPlowman Jun 23, 2023
30c3a49
DS-693 Web Application Firewall (#679)
JackPlowman Jun 26, 2023
fd69589
DS-690 Migrate to SSO roles (#672)
JackPlowman Jun 26, 2023
f319f6d
DS-1006 Fix Shared Resources Deployment Log Group (#751)
JackPlowman Jun 27, 2023
0e4c422
DS-924 Improve Application Performance (#722)
JackPlowman Aug 1, 2023
782e985
DS-1145 Fix development pipeline (#772)
JackPlowman Aug 1, 2023
ee8223f
DS-1044 Pharmacy First Active Matching (#771)
JackPlowman Aug 3, 2023
3fcbcc0
DS-1189 Update Documentation and Diagrams to Remove Orchestrator (#778)
JackPlowman Aug 8, 2023
c21ced9
DS-1191 Update Security Documentation (#779)
JackPlowman Aug 8, 2023
16fcd0c
DS-1198 Bump Up Load Test Event Load (#782)
JackPlowman Aug 8, 2023
c4d401c
DS-1183 Fix live db-dos-handler variable not being defined (Hotfix 16…
mabe13 Aug 10, 2023
7b092da
DS-1153 Fix Pre-Release Pipeline and Convert to CodeBuild Batch Proj…
JackPlowman Aug 10, 2023
23a44c7
DS-1149 Add Infrastructure For Service Matcher Feature Flags (#774)
JackPlowman Aug 10, 2023
00f5585
DS-1205 Update Environments Documentation (#786)
JackPlowman Aug 10, 2023
75b873c
DS-512 Set API Gateway Rate Limit (#670)
JackPlowman Aug 11, 2023
9b81f13
DS-1208 Refactor Build Environment to Task Env Deploy and Test (#787)
JackPlowman Aug 11, 2023
07836d1
DS-1149 Convert AppConfig Feature Flag to Parameter Store Feature Fla…
JackPlowman Aug 11, 2023
9f6e885
DS-1160 Remove Dentist Tests and References (#789)
JackPlowman Aug 14, 2023
c33ba24
DS-1157 Remove Dentist Code from Application (#790)
JackPlowman Aug 15, 2023
d4ecdd1
DS-1161 Match Active, Closed and Commissioning Pharmacy First Service…
JackPlowman Aug 16, 2023
78b630e
DS-1218 Update CloudWatch Query Names (#792)
JackPlowman Aug 16, 2023
6c839c9
DS-1221 Speed Up Integration Tests in Task Deploy and Test (#791)
JackPlowman Aug 16, 2023
483cd94
DS-980 Set Service Status in Reports using Database Value (#794)
JackPlowman Aug 17, 2023
0d3977a
DS-1186 Only Process Services If Any Are Active (#797)
JackPlowman Aug 17, 2023
ec4a5e2
DS-1241 Fix Integration Test ODSCode Bug (#800)
JackPlowman Aug 22, 2023
e994fef
DS-1154 Remove AppConfig Application Usage (#801)
JackPlowman Aug 23, 2023
b200b77
DS-978 Upgrade Python Version of Application and Tests (#795)
JackPlowman Aug 25, 2023
1116ceb
DS-1260 Reduce Performance Test Load (#805)
JackPlowman Aug 25, 2023
0428aea
DS-1271 Remove Reliance on RDS Instances (#807)
JackPlowman Aug 29, 2023
b8f7943
DS-1289 Rearrange Integration Test Functions and Folder Structure (#813)
JackPlowman Aug 31, 2023
a6a9cdf
DS-947 Exception reporting for PF services (#804)
mabe13 Sep 1, 2023
5724b3f
DS-1262 Show Aurora DBs Stats on CloudWatch Dashboard (#811)
JackPlowman Sep 4, 2023
35725ee
DS-1276 Update Dashboard to See Pharmacy First Changes (#810)
JackPlowman Sep 4, 2023
1759027
DS-1305 Test Docker Image Pulling Improvement (#820)
JackPlowman Sep 4, 2023
85364c6
DS-1261 Fix Pre-Release CodeBuild Version Error (#806)
JackPlowman Sep 4, 2023
b1a6662
DS-1315 Remove Unused AppConfig Permissions (#828)
JackPlowman Sep 5, 2023
e2306bc
DS-987 Apply Blood Pressure Service (#796)
JackPlowman Sep 8, 2023
70b4dfa
DS-1284 Blood Pressure Integration Tests (#829)
JackPlowman Sep 8, 2023
6be35ae
DS-1328 Improve CloudWatch Dashboards (#833)
JackPlowman Sep 8, 2023
899af56
DS-1332 Add Cloudwatch Dashboard Variables (#834)
JackPlowman Sep 11, 2023
c6a2368
DS-1348 Fix Blue Green Cleanup Job (#836)
JackPlowman Sep 11, 2023
f7d0917
DS-908 Refactor and Improve Performance Tests (#831)
JackPlowman Sep 11, 2023
f428283
DS-1359 Refactor Performance Tests to Reduce Code Complexity (#837)
JackPlowman Sep 11, 2023
144452b
DS-1372 Reduce CloudWatch Alarm Thresholds (#840)
JackPlowman Sep 13, 2023
4c38c8a
DS-1331 Point Dev to Regression Aurora (#835)
JackPlowman Sep 14, 2023
68647b3
DS-1068 Apply Contraception Service (#798)
JackPlowman Sep 15, 2023
1a0a964
DS-1301 Add Contraception Integration Tests (#830)
JackPlowman Sep 15, 2023
a710a94
DS-1375 Point demo at UAT3 database schema (#843)
mabe13 Sep 15, 2023
f96f54c
DS-1403 Add Palliative Care Performance Test (#844)
JackPlowman Sep 18, 2023
9c7bd5a
DS-1404 Fix Performance Test Specified Opening Times (#845)
JackPlowman Sep 18, 2023
b793b3c
DS-1162 Discard Non Active Services (#799)
JackPlowman Sep 19, 2023
74df24a
DS-1303 Add Integration Tests for DS-1162 (#851)
JackPlowman Sep 20, 2023
a3742a2
DS-1349 Refactor Pharmacy First (#841)
JackPlowman Sep 21, 2023
5182a5c
DS-1417 Bump Up Pipeline Docker Image Versions (#850)
JackPlowman Sep 21, 2023
f0e0afb
DS-1155 Remove AppConfig configuration (#847)
JackPlowman Sep 22, 2023
84742db
DS-721 Apply Web Application Firewall in Block Mode (#848)
JackPlowman Sep 22, 2023
ac4464a
DS-1435 Increase Pipeline Build Timeouts (#853)
JackPlowman Sep 22, 2023
534254b
DS-1396 Remove Unused Alarms and Improve Alarm Triggers (#842)
JackPlowman Sep 22, 2023
7c5bb83
DS-1447 Run Pipeline Without Tools Image (#857)
JackPlowman Sep 25, 2023
dbb76fa
DS-1397 Improve Slack Alerts (#846)
JackPlowman Sep 25, 2023
5cf484a
DS-1439 General Python Refactoring (#855)
JackPlowman Sep 25, 2023
5561f82
DS-1420 Merge CloudWatch Dashboards (#854)
JackPlowman Sep 26, 2023
2cb0ca4
DS-1270 Update to Aurora Terminology (#827)
JackPlowman Sep 26, 2023
32955e5
DS-1139 Remove Unmatched Service Type Report (#860)
JackPlowman Sep 29, 2023
acbeb57
DS-1368 Remove Unexpected Pharmacy Profiling Report (#864)
JackPlowman Sep 29, 2023
2039b9d
DS-1369 Remove Invalid Palliative Stockholder Service Report (#865)
JackPlowman Sep 29, 2023
d6b5368
DS-1487 Add Update Request Sent Metric (#869)
JackPlowman Oct 3, 2023
9c1af2f
DS-1490 Increase Stress Test Rate (#870)
JackPlowman Oct 4, 2023
99ec1bd
DS-1491 Refactor and Add Markdown Actions (#871)
JackPlowman Oct 4, 2023
b7816f8
DS-1164 Add Info Log of Non Blank Opening Times (#858)
JackPlowman Oct 4, 2023
45ba920
DS-1316 Tighten Palliative Care Update (#838)
JackPlowman Oct 5, 2023
4ba7916
DS-1469 Add New Palliative Care Integration Tests (#859)
JackPlowman Oct 6, 2023
636412b
DS-1477 Merge Hotfix 18.1 back into Develop (#863)
JackPlowman Oct 10, 2023
2046d96
DS-1537 Remove Legacy Make Targets (#873)
JackPlowman Oct 11, 2023
2b954fc
DS-1539 Remove Legacy Documentation (#874)
JackPlowman Oct 11, 2023
7aa6c59
DS-1542 Bump up Checkov version (#876)
JackPlowman Oct 12, 2023
ca6b9ee
DS-1543 Bump Up TFSec Version (#877)
JackPlowman Oct 12, 2023
a848dc4
DS-1013 Blank Standard Opening Times No Update (#832)
JackPlowman Oct 12, 2023
3f179c8
DS-1519 Update Blank Opening Times Integration Tests (#878)
vkjonnagadda Oct 12, 2023
61ae535
DS-1367 New Missing Service Type (#861)
JackPlowman Oct 13, 2023
f95f76f
DS-1252 Remove AppConfig Deployment and Folder (#879)
JackPlowman Oct 17, 2023
cfda455
DS-1520 Missing Service Type Integration Tests (#881)
vkjonnagadda Oct 18, 2023
db18846
DS-1541 Improve Application Documentation (#880)
JackPlowman Oct 19, 2023
ecfb1d0
DS-1583 Update Integration Tests CodeBuild To Use Tags (#883)
JackPlowman Oct 20, 2023
fec690f
DS-1603 Refactor Integration Tests - Remove Old Test and Irrelevant T…
JackPlowman Oct 24, 2023
e0a6f0f
DS-1608 Improve Task Deploy and Test Build Time (#893)
JackPlowman Oct 25, 2023
f75c0fa
DS-1399 Refactor Integration Tests - Update Tag Groups (#892)
JackPlowman Oct 26, 2023
a53e0e8
DS-1619 Fix Development Environment Typo (#894)
JackPlowman Oct 26, 2023
11bbd81
DS-1611 Reduce Task Deploy and Test Deployment Time (#895)
JackPlowman Oct 27, 2023
deb6220
DS-1627 Trim Application Logging (#896)
JackPlowman Oct 31, 2023
d992810
DS-156 Fix Blank Opening Times in Production Smoke Test (#908)
JackPlowman Nov 1, 2023
37f7ca7
DS-1195 Pharmacy First Smoke Testing (#909)
JackPlowman Nov 2, 2023
d6ba83d
DS-1317 Create Quality Checker Lambda (#839)
JackPlowman Nov 8, 2023
5a4381c
DS-1658 Quality Checker Integration Tests (#914)
JackPlowman Nov 9, 2023
880fe36
DS-1571 Fix Broken Web Application Firewall Rule (#885)
JackPlowman Nov 10, 2023
3d54a38
DS-1678 Remove References to tx-mfa (#911)
JackPlowman Nov 10, 2023
64880ee
DS-1689 Bump Up Ruff Version and Implement Ruff Formatting (#915)
JackPlowman Nov 10, 2023
3574867
DS-1602 Add Repository Security Policy (#917)
JackPlowman Nov 10, 2023
4935085
DS-1601 Add Repository Licence (#918)
JackPlowman Nov 10, 2023
0fe69eb
DS-1641 Only Send Relevant Logs and Metrics to Splunk (#912)
JackPlowman Nov 13, 2023
f96988b
DS-1544 Remove Serverless Framework and Refactor Application Terrafor…
JackPlowman Nov 15, 2023
ba65441
DS-1709 Add Architectural Decision Record for Application Metrics (#920)
JackPlowman Nov 15, 2023
4796a12
DS-1654 Create CloudWatch Metric Filters (#921)
JackPlowman Nov 16, 2023
74fcd2b
DS-1724 Fix KMS Principals Being Set Incorrectly (#928)
JackPlowman Nov 16, 2023
959101a
DS-1687 Remove Pharmacy First Parameter Usage (#923)
JackPlowman Nov 16, 2023
8f8f693
DS-1721 Task Testing Changes and Integration Test Changes (#924)
JackPlowman Nov 17, 2023
77e3df2
DS-1716 Remove Python Ruff Exclusions and Add Fixes (#927)
JackPlowman Nov 17, 2023
c6f97e7
DS-17721 Fix Broken Sequence Number Tests (#935)
JackPlowman Nov 20, 2023
79feed8
DS-1723 Format Public Phone Number (#929)
JackPlowman Nov 20, 2023
6379a2d
DS-1767 Fix Failed Quality Checker Invocation Alert (#933)
JackPlowman Nov 20, 2023
5a4808a
DS-1787 Fix Smoke Test Phone Updates (#936)
JackPlowman Nov 21, 2023
6d5c333
DS-1776 Remove Python Dead Code (#934)
JackPlowman Nov 21, 2023
a15a778
DS-1755 Update DoS Environment Setup for New Jenkins (#937)
JackPlowman Nov 22, 2023
5173b63
DS-1792 Remove False Negatives from Lambda Error Rate Alarms (#939)
JackPlowman Nov 23, 2023
ba0f023
DS-1633 Upgrade Terraform S3 Module Version (#940)
JackPlowman Nov 23, 2023
5e3b849
DS-1806 Add Database Labels to CloudWatch Dashboard (#941)
JackPlowman Nov 23, 2023
a8c0146
DS-1810 Update CloudWatch Alarms (#942)
JackPlowman Dec 4, 2023
d174051
DS-1755 Fix Refreshing DoS Environment CodeBuild Regularly (#948)
JackPlowman Dec 4, 2023
743130f
DS-1832 Fixes Blank Opening Times Report with logging change (#949)
mabe13 Dec 5, 2023
2624c38
DS-1909 Modify Alarms To Not Deploy Into Task Environments (#953)
JackPlowman Dec 11, 2023
111e474
DS-1815 Performance Test Results Script (#946)
JackPlowman Dec 11, 2023
752e3a7
DS-867 Update Security Group Ingress Rules for New Security Group (#930)
JackPlowman Dec 13, 2023
8f77980
DS-932 Update Database Route 53 Addresses (#931)
JackPlowman Dec 13, 2023
d125ce8
DS-1708 Remove Pharmacy First Feature Flag Parameter Store (#954)
JackPlowman Dec 13, 2023
04e5fb1
DS-1811 Turn on Terraform Refresh (#947)
JackPlowman Dec 13, 2023
75034e5
DS-1925 Upgrade CodeQL Version To 3 (#957)
JackPlowman Dec 14, 2023
c0c6cef
DS-1926 Updates GitHub Actions Versions and Configurations (#958)
JackPlowman Dec 14, 2023
a033774
DS-1931 Add Vale GitHub Action (#960)
JackPlowman Dec 14, 2023
c1e7332
DS-1934 Add Vale Fixes and Improve Documentation (#961)
JackPlowman Dec 14, 2023
1315ebe
DS-1957 Update MGMT Security Group Name (#964)
JackPlowman Dec 18, 2023
6741978
DS-1958 Fix DoS Environment Setup Schedule (#965)
JackPlowman Dec 18, 2023
a98031f
DS-1959 Remove Broken Delete ECR Images CodeBuild (#966)
JackPlowman Dec 18, 2023
2a58032
DS-1964 Improve Performance Test Results Script (#967)
JackPlowman Dec 18, 2023
a72f035
DS-1936 Add Vale Packages (#962)
JackPlowman Dec 19, 2023
01a0e18
DS-1921 Remove Unused Blue/Green Deployment Parameter Stores (#955)
JackPlowman Dec 19, 2023
37412e0
DS-1960 Refactor Development and Deployment Tools Terraform Stack (#968)
JackPlowman Dec 20, 2023
b55a424
DS-1970 Point Event Replay Lambda To Change Event Queue (#971)
JackPlowman Dec 20, 2023
50e9032
DS-1966 Improve Lambda IAM Permissions (#969)
JackPlowman Dec 20, 2023
5081e30
DS-1972 Fix Environment Removal Slack Message (#973)
JackPlowman Dec 20, 2023
76c0ded
DS-1971 Remove Old Compare Specified Opening Times Script (#972)
JackPlowman Dec 21, 2023
9c2f9f6
DS-1973 Remove Release Environment After Testing (#974)
JackPlowman Dec 21, 2023
23c1456
DS-1977 Update CodeBuild To Use Local BuildSpecs (#975)
JackPlowman Dec 22, 2023
0affe59
DS-1984 Fix Specified Opening Times Smoke Test Bug (#976)
JackPlowman Dec 27, 2023
651ec3e
DS-1987 Fix Missing Release Deploy and Test BuildSpec (#980)
JackPlowman Dec 28, 2023
1b13b78
DS-1985 Chaos Engineering Scenarios (#982)
JackPlowman Jan 3, 2024
de92b8d
DS-1991 Add Quality Checker Schedule (#983)
JackPlowman Jan 3, 2024
ff22cef
DS-1986 Add Disaster Recovery Plan (#978)
JackPlowman Jan 8, 2024
640eced
DS-2064 Upgrade Development and Deployment Tools Terraform Provider (…
JackPlowman Jan 16, 2024
f739ec1
DS-2154 Upgrade Moto Mocking (#989)
JackPlowman Jan 29, 2024
7264617
DS-2170 Fix Quality Checker EventBridge Rule Permission (#990)
JackPlowman Jan 31, 2024
9a1d13a
DS-2141 Fix Organisation Name and Type Logging (#988)
JackPlowman Feb 1, 2024
ecb2154
DS-2260 Fix Vale Set Up (#997)
JackPlowman Feb 21, 2024
ec49e5c
Remove Vale Violations (#998)
JackPlowman Feb 23, 2024
ff0b6a8
DS-2264 Upgrade to use latest AWS Lambda PowerTools Logging Standards…
JackPlowman Feb 23, 2024
0e8b4f0
DS-2275 Show Blue/Green Environment Variables in Shared Resources Dep…
JackPlowman Feb 23, 2024
5d5c9ee
DS-2244 Add Penetration Test Make Profile (#1001)
mabe13 Feb 23, 2024
d38c8ef
DS-2400 Integration Test and Unit Python package Bug (#1011)
mabe13 Apr 3, 2024
978e780
DS-2408 Add image build security scan fix to missed pipelines (#1012)
mabe13 Apr 8, 2024
d4f59b8
Add Texas backup tag to dynamoDB (#1021)
mabe13 May 14, 2024
2fc0735
DS-2622 Remove ECR vulnerability scan check from release PR codebuild…
mabe13 May 23, 2024
49b7efd
DS-2622 Remove ECR vulnerability scan check from development codepipe…
mabe13 May 23, 2024
b941f6f
DS-2622 Remove last missed ECR vulnerability scan check (#1025)
mabe13 May 24, 2024
ce6cbbb
DS-2941 Fix Make Targets (#1028)
Tomdango Sep 6, 2024
cf19362
DS-1462 Upgrade Python to 3.12 (#922)
JackPlowman Sep 13, 2024
f7d9fcb
DS-2829 Add missing HTTP security headers (#1027)
nsindhu26 Sep 26, 2024
11b94a1
DS-2840 Sns encryption policy (#1032)
nsindhu26 Oct 8, 2024
3c64597
DS-2834 Restricted endpoint to security group (#1033)
ThomasC-Kainos Oct 22, 2024
4089ad2
DS-3136 Enable distance selling (#1034)
ThomasC-Kainos Nov 26, 2024
b91710c
DS-3268 Release pipeline xbuild bug fix (#1037)
mabe13 Dec 24, 2024
2bd4110
DS-3019 Terraform aws provider version upgraded to 5.68.0 (#1035)
ajmu1 Jan 2, 2025
1e79e55
DS-3293 Updated opening times in integration test case to a future da…
ajmu1 Jan 6, 2025
7144815
DS-2843 Enable dynamodb delete protection for live profile (#1040)
ajmu1 Jan 16, 2025
ef6c2b6
DS-2844 Missing rule config for WAF SQLi rule (#1041)
ajmu1 Jan 20, 2025
1e65fa9
DS-392 Flaky Integrationtest Fix (#1044)
ManithaSrinivasa Feb 18, 2025
5a5a5f0
DS-3492 Release issue fix for waf rules (#1046)
ajmu1 Feb 21, 2025
3cf6dab
DS-3556 Docker desktop to podman (#1048)
ajmu1 May 9, 2025
51d8491
DS-3746 Change test smoke test service to one that exists (#1054)
mabe13 May 23, 2025
a3cef14
DS-3859 Transferring DI repo from nhsd-exeter to NHSDigital org (#1065)
ajmu1 Jun 13, 2025
e34d3ff
DS-3900 Fixing dev pipeline trigger (#1069)
ajmu1 Jun 16, 2025
e22b93e
DS-3900 Revert 1069 fixing dev pipeline trigger (#1071)
ajmu1 Jun 17, 2025
bf99b17
DS-3900 Dev pipeline updated github token (#1072)
ajmu1 Jun 17, 2025
438b08d
DS-3900 Pushing change to test the dev pipeline trigger fix (#1073)
ajmu1 Jun 18, 2025
1dbb70f
DS-3730 Remove DSPs from palliative z-code quality report checks (#1083)
mabe13 Jul 14, 2025
8981c24
DS-4012 Checking dev pipeline trigger after adding AWS connector in G…
ajmu1 Jul 16, 2025
b865317
DS-4012 Trigger Dev pipeline (#1088)
ManithaSrinivasa Jul 25, 2025
5865648
DS-4011 Updating pipeline trigger mechanism (#1107)
ajmu1 Sep 2, 2025
6b0d716
DS-3786 Fixing breaking tester image (#1108)
ajmu1 Sep 18, 2025
527380f
DS-3786 Fixing broken test cases for new tester image (#1109)
ajmu1 Sep 19, 2025
458a24e
DS-3786 Fixing issue of breaking test cases for new tester image (#1110)
ajmu1 Sep 19, 2025
7f91b86
DS-3786 Fixing breaking tester image (#1111)
ajmu1 Sep 19, 2025
b4ccfaf
DS-4277 Addressing security vulnerabilities (#1121)
ajmu1 Oct 14, 2025
b1853e5
Merge branch 'main' into release/29.0
ajmu1 Oct 15, 2025
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
10 changes: 5 additions & 5 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/.github @nhsd-exeter/maintainers
/build/automation/lib @nhsd-exeter/maintainers
/build/automation/init.mk @nhsd-exeter/maintainers
/.gitignore @nhsd-exeter/maintainers
/project.code-workspace @nhsd-exeter/maintainers
/.github @NHSDigital/data-sourcing-ftrs/maintainers
/build/automation/lib @NHSDigital/data-sourcing-ftrs/maintainers
/build/automation/init.mk @NHSDigital/data-sourcing-ftrs/maintainers
/.gitignore @NHSDigital/data-sourcing-ftrs/maintainers
/project.code-workspace @NHSDigital/data-sourcing-ftrs/maintainers
6 changes: 3 additions & 3 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
projectBaseDir: .
args: >
-Dsonar.sources=application,infrastructure,scripts,test,build/docker
-Dsonar.organization=nhsd-exeter
-Dsonar.projectKey=uec-dos-int
-Dsonar.organization=nhsdigital
-Dsonar.projectKey=nhsdigital_dos-integration
-Dsonar.coverage.exclusions=tests/**,**/tests/**,infrastructure,application/dos_db_handler/**,test/**,scripts/**,application/conftest.py
-Dsonar.python.coverage.reportPaths=coverage.xml
-Dsonar.python.version=3.12
Expand All @@ -48,7 +48,7 @@ jobs:
with:
fetch-depth: 0
- name: Check Markdown format
uses: DavidAnson/markdownlint-cli2-action@v13
uses: DavidAnson/markdownlint-cli2-action@v20
with:
config: .github/workflows/configs/markdownlint/.markdownlint.json
- name: Check Markdown links
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-pull-request-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Get Branch Name
uses: mdecoleman/pr-branch-name@2.0.0
uses: mdecoleman/pr-branch-name@v3.0.0
id: branch_name
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -30,7 +30,7 @@ jobs:
run: echo "TEMPLATE_NAME=$(cat .github/PULL_REQUEST_TEMPLATE/${{ env.BRANCH_DESIGNATOR }}_pull_request_template.md > /dev/null 2>&1 && echo ${{ env.BRANCH_DESIGNATOR }}_pull_request_template.md || echo task_pull_request_template.md)" >> $GITHUB_ENV
- name: Render Pull Request template
id: template
uses: chuhlomin/render-template@v1.5
uses: chuhlomin/render-template@v1.10
with:
template: .github/PULL_REQUEST_TEMPLATE/${{ env.TEMPLATE_NAME }}
vars: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ tag-commit-to-destroy-environment: # Tag git commit to destroy deployment - mand
fi

get-environment-from-pr:
ENVIRONMENT=$$(gh pr list -s merged --json number,mergeCommit,headRefName --repo=nhsd-exeter/dos-integration | jq --raw-output '.[] | select(.number == $(PR_NUMBER)) | .headRefName | sub( ".*:*/DS-(?<x>.[0-9]*).*"; "ds-\(.x)") ')
ENVIRONMENT=$$(gh pr list -s merged --json number,mergeCommit,headRefName --repo=NHSDigital/dos-integration | jq --raw-output '.[] | select(.number == $(PR_NUMBER)) | .headRefName | sub( ".*:*/DS-(?<x>.[0-9]*).*"; "ds-\(.x)") ')
echo $$ENVIRONMENT

is-environment-deployed:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ The main components you will need for _basic_ development work, are your OS vers
- Git
- Python (The project currently runs on 3.12)
- AWS CLI
- Docker
- Docker/Podman

### Clone Repository

Clone the repository

git clone git@github.com:nhsd-exeter/dos-integration.git
git clone git@github.com:NHSDigital/dos-integration.git
cd ./dos-integration

### AWS Authentication
Expand Down Expand Up @@ -192,7 +192,7 @@ To run ruff on you branch:

List all the type of test suites included and provide instructions how to execute them

- Unit
- Unit Testing
- Integration
- Performance

Expand Down Expand Up @@ -240,7 +240,7 @@ This testing is generally done by a tester
Prerequisites

assume # Granted assume AWS Role
Sign into Non-Prod VPN # To connect to lambdas within the VPC
Sign into Non-Prod VPN # To connect to lambdas within the VPC
IP is in the IP Allow List # To connect to the API Gateway
make tester-build

Expand Down
2 changes: 1 addition & 1 deletion application/change_event_dlq_handler/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aws-lambda-powertools[tracer] ~= 2.43.0
aws-lambda-powertools[tracer] ~= 3.20.0
3 changes: 2 additions & 1 deletion application/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

CLOSED_AND_HIDDEN_STATUSES = ["HIDDEN", "CLOSED"]

PHARMACY_SERVICE_TYPE_IDS = [13, 131, 132, 134, 137, 148, 149]
DISTANCE_SELLING_PHARMACY_ID = 134
PHARMACY_SERVICE_TYPE_IDS = [13, 131, 132, DISTANCE_SELLING_PHARMACY_ID, 137, 148, 149]
PHARMACY_ORGANISATION_SUB_TYPES = ["Community", "DistanceSelling"]
PHARMACY_ODSCODE_LENGTH = 5
PHARMACY_SERVICE_TYPE_ID = 13
Expand Down
2 changes: 1 addition & 1 deletion application/dos_db_handler/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
aws-lambda-powertools[tracer] ~= 2.43.0
aws-lambda-powertools[tracer] ~= 3.20.0
psycopg[binary]
2 changes: 1 addition & 1 deletion application/dos_db_update_dlq_handler/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aws-lambda-powertools[tracer] ~= 2.43.0
aws-lambda-powertools[tracer] ~= 3.20.0
2 changes: 1 addition & 1 deletion application/event_replay/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
aws-lambda-powertools[tracer] ~= 2.43.0
aws-lambda-powertools[tracer] ~= 3.20.0
simplejson
2 changes: 1 addition & 1 deletion application/ingest_change_event/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aws-lambda-powertools[tracer, validation] ~= 2.43.0
aws-lambda-powertools[tracer, validation] ~= 3.20.0
2 changes: 1 addition & 1 deletion application/quality_checker/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
aws-lambda-powertools[tracer, validation] ~= 2.43.0
aws-lambda-powertools[tracer, validation] ~= 3.20.0
psycopg[binary]
7 changes: 5 additions & 2 deletions application/quality_checker/search_dos.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from aws_lambda_powertools.logging import Logger
from psycopg import Connection

from common.commissioned_service_type import CommissionedServiceType
from common.constants import DOS_ACTIVE_STATUS_ID, PHARMACY_SERVICE_TYPE_IDS
from common.commissioned_service_type import PALLIATIVE_CARE, CommissionedServiceType
from common.constants import DISTANCE_SELLING_PHARMACY_ID, DOS_ACTIVE_STATUS_ID, PHARMACY_SERVICE_TYPE_IDS
from common.dos import DoSService
from common.dos_db_connection import query_dos_db

Expand Down Expand Up @@ -83,6 +83,9 @@ def search_for_incorrectly_profiled_z_code_on_incorrect_type(
list[DoSService]: List of matching services.
"""
matchable_service_types = PHARMACY_SERVICE_TYPE_IDS.copy()
if service_type == PALLIATIVE_CARE:
# Remove DSPs from check, as it's valid for the palliative z-code to be present on them
matchable_service_types.remove(DISTANCE_SELLING_PHARMACY_ID)
matchable_service_types.remove(service_type.DOS_TYPE_ID)
starting_character = getenv("ODSCODE_STARTING_CHARACTER") or "f"
cursor = query_dos_db(
Expand Down
2 changes: 1 addition & 1 deletion application/send_email/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aws-lambda-powertools[tracer] ~= 2.43.0
aws-lambda-powertools[tracer] ~= 3.20.0
2 changes: 1 addition & 1 deletion application/service_matcher/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
aws-lambda-powertools[tracer] ~= 2.43.0
aws-lambda-powertools[tracer] ~= 3.20.0
psycopg[binary]
pytz
2 changes: 1 addition & 1 deletion application/service_sync/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
aws-lambda-powertools[tracer] ~= 2.43.0
aws-lambda-powertools[tracer] ~= 3.20.0
psycopg[binary]
pytz
2 changes: 1 addition & 1 deletion application/slack_messenger/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
aws-lambda-powertools[tracer] ~= 2.43.0
aws-lambda-powertools[tracer] ~= 3.20.0
requests
2 changes: 1 addition & 1 deletion build/automation/lib/docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ docker-run-sonar-scanner-cli: ### Run sonar-scanner-cli container - mandatory: C
mkdir -p $(TMP_DIR)/.sonar/cache
image=$$([ -n "$(IMAGE)" ] && echo $(IMAGE) || echo sonarsource/sonar-scanner-cli:$(DOCKER_SONAR_SCANNER_CLI_VERSION))
container=$$([ -n "$(CONTAINER)" ] && echo $(CONTAINER) || echo node-$(BUILD_COMMIT_HASH)-$(BUILD_ID)-$$(date --date=$$(date -u +"%Y-%m-%dT%H:%M:%S%z") -u +"%Y%m%d%H%M%S" 2> /dev/null)-$$(make secret-random LENGTH=8))
docker run --interactive $(_TTY) --rm \
$(DOCKER_CMD) run --interactive $(_TTY) --rm \
--name $$container \
--user $$(id -u):$$(id -g) \
--env-file <(make _list-variables PATTERN="^(AWS|TX|TEXAS|NHSD|TERRAFORM)") \
Expand Down
8 changes: 5 additions & 3 deletions build/automation/var/project.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ORG_NAME = nhsd-exeter
ORG_NAME = NHSDigital
PROGRAMME = uec
PROJECT_GROUP = uec/dos
PROJECT_GROUP_SHORT = uec-dos
Expand Down Expand Up @@ -26,7 +26,7 @@ TF_VAR_environment = $(ENVIRONMENT)
TF_VAR_aws_account_name = $(AWS_ACCOUNT_NAME)
TF_VAR_deployment_secrets = $(DEPLOYMENT_SECRETS)
PROJECT_DEPLOYMENT_SECRETS = $(DEPLOYMENT_SECRETS)
TF_VAR_github_owner = nhsd-exeter
TF_VAR_github_owner = NHSDigital
TF_VAR_github_repo = dos-integration
PARALLEL_TEST_COUNT := $(or $(PARALLEL_TEST_COUNT), auto)

Expand All @@ -45,11 +45,13 @@ TF_VAR_cicd_blue_green_deployment_pipeline_name := $(PROJECT_ID)-$(ENVIRONMENT)-
TF_VAR_cicd_shared_resources_deployment_pipeline_name := $(PROJECT_ID)-$(ENVIRONMENT)-cicd-shared-resources-deployment-pipeline
TF_VAR_blue_green_deployment_new_version_parameter_name := $(PROJECT_ID)-$(ENVIRONMENT)-blue-green-deployment-new-version
TF_VAR_development_tools_encryption_key_alias := $(PROJECT_ID)-$(ENVIRONMENT)-development-tools-encryption-key
TF_VAR_github_url := https://github.com/nhsd-exeter/dos-integration.git
TF_VAR_github_url := https://github.com/NHSDigital/dos-integration.git
TF_VAR_pipeline_topic_name := $(PROJECT_ID)-$(ENVIRONMENT)-pipeline-topic
TF_VAR_pipeline_notification_name := $(PROJECT_ID)-$(ENVIRONMENT)-pipeline-notification
TF_VAR_cicd_blue_green_deployment_pipeline_nofitication_name := $(PROJECT_ID)-$(ENVIRONMENT)-blue-green-pipeline-notification
TF_VAR_cicd_shared_resources_deployment_pipeline_nofitication_name := $(PROJECT_ID)-$(ENVIRONMENT)-shared-resources-pipeline-notification
TF_VAR_cicd_blue_green_deployment_pipeline_eventbridge_rule_name := $(PROJECT_ID)-$(ENVIRONMENT)-trigger-blue-green-pipeline
TF_VAR_cicd_shared_resources_deployment_pipeline_eventbridge_rule_name := $(PROJECT_ID)-$(ENVIRONMENT)-trigger-shared-resources-pipeline
TF_VAR_pipeline_chatbot_channel := $(PROJECT_ID)-cicd-slk-channel
TF_VAR_nightly_rule_name := $(PROJECT_ID)-$(ENVIRONMENT)-performance-pipeline-nightly-rule

Expand Down
22 changes: 22 additions & 0 deletions infrastructure/modules/eventbridge_pipeline_trigger/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
resource "aws_cloudwatch_event_rule" "trigger_pipeline" {
name = var.rule_name
description = var.description
event_pattern = <<EOF
{
"source": ["aws.s3"],
"detail-type": ["Object Created"],
"resources": ["arn:aws:s3:::${var.bucket_name}"],
"detail": {
"object": {
"key": ["${var.object_key}"]
}
}
}
EOF
}

resource "aws_cloudwatch_event_target" "pipeline_target" {
rule = aws_cloudwatch_event_rule.trigger_pipeline.name
arn = var.pipeline_arn
role_arn = var.pipeline_role_arn
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
output "eventbridge_rule_id" {
description = "The EventBridge rule Name we just created."
value = aws_cloudwatch_event_rule.trigger_pipeline.id
}

output "eventbridge_rule_arn" {
description = "The EventBridge rule ARN we just created."
value = aws_cloudwatch_event_rule.trigger_pipeline.arn
}
30 changes: 30 additions & 0 deletions infrastructure/modules/eventbridge_pipeline_trigger/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
variable "bucket_name" {
description = "Name of the S3 bucket to monitor."
type = string
}

variable "pipeline_arn" {
description = "ARN of the CodePipeline to trigger."
type = string
}

variable "pipeline_role_arn" {
description = "Role ARN for EventBridge to trigger the pipeline."
type = string
}

variable "rule_name" {
description = "Name of the EventBridge rule."
type = string
}

variable "description" {
description = "Description of the EventBridge rule."
type = string
}

variable "object_key" {
description = "S3 object key to filter on."
type = string
default = "repository.zip"
}
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ batch:
- identifier: integration_test
env:
compute-type: BUILD_GENERAL1_LARGE
image: aws/codebuild/amazonlinux2-x86_64-standard:5.0
type: LINUX_CONTAINER
image: aws/codebuild/amazonlinux2-aarch64-standard:3.0
type: ARM_CONTAINER
privileged-mode: true
variables:
PROFILE: dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ batch:
- identifier: integration_test_reporting
env:
compute-type: BUILD_GENERAL1_LARGE
image: aws/codebuild/amazonlinux2-x86_64-standard:5.0
type: LINUX_CONTAINER
image: aws/codebuild/amazonlinux2-aarch64-standard:3.0
type: ARM_CONTAINER
privileged-mode: true
variables:
PROFILE: dev
Expand All @@ -153,8 +153,8 @@ batch:
- identifier: integration_test_validation
env:
compute-type: BUILD_GENERAL1_LARGE
image: aws/codebuild/amazonlinux2-x86_64-standard:5.0
type: LINUX_CONTAINER
image: aws/codebuild/amazonlinux2-aarch64-standard:3.0
type: ARM_CONTAINER
privileged-mode: true
variables:
PROFILE: dev
Expand All @@ -167,8 +167,8 @@ batch:
- identifier: integration_test_opening_times
env:
compute-type: BUILD_GENERAL1_LARGE
image: aws/codebuild/amazonlinux2-x86_64-standard:5.0
type: LINUX_CONTAINER
image: aws/codebuild/amazonlinux2-aarch64-standard:3.0
type: ARM_CONTAINER
privileged-mode: true
variables:
PROFILE: dev
Expand All @@ -181,8 +181,8 @@ batch:
- identifier: integration_test_general
env:
compute-type: BUILD_GENERAL1_LARGE
image: aws/codebuild/amazonlinux2-x86_64-standard:5.0
type: LINUX_CONTAINER
image: aws/codebuild/amazonlinux2-aarch64-standard:3.0
type: ARM_CONTAINER
privileged-mode: true
variables:
PROFILE: dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "aws_codebuild_webhook" "build_image_webhook" {
resource "aws_codebuild_project" "build_image" {
for_each = local.independent_build_images
name = "${var.project_id}-${var.environment}-build-${each.key}-stage"
description = "Builds ${each.key} x86 development docker container image"
description = "Builds ${each.key} x64 development docker container image"
build_timeout = "10"
queued_timeout = "5"
service_role = data.aws_iam_role.pipeline_role.arn
Expand All @@ -45,8 +45,8 @@ resource "aws_codebuild_project" "build_image" {

environment {
compute_type = "BUILD_GENERAL1_SMALL"
image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0"
type = "LINUX_CONTAINER"
image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0"
type = "ARM_CONTAINER"
image_pull_credentials_type = "CODEBUILD"
privileged_mode = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ phases:
- export AWS_SECRET_ACCESS_KEY=$(echo $temp_role | jq -r .Credentials.SecretAccessKey)
- export AWS_SESSION_TOKEN=$(echo $temp_role | jq -r .Credentials.SessionToken)
- make docker-hub-signin
- make docker-pull NAME=tester
# - make docker-pull NAME=tester
# Using digest to handle image arch issue in smoke test stage for no arm terraform image in v1.2.1
- make docker-pull NAME=tester DIGEST=sha256:8c90f5292a78a8ced10b7644b1269174798db2fc92b5d01a7e9dac966e13b88c
- docker tag $(make _docker-get-reg)/tester@sha256:8c90f5292a78a8ced10b7644b1269174798db2fc92b5d01a7e9dac966e13b88c $(make _docker-get-reg)/tester:latest
- unset AWS_ACCESS_KEY_ID
- unset AWS_SECRET_ACCESS_KEY
- unset AWS_SESSION_TOKEN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "aws_codepipeline" "cicd_blue_green_deployment_pipeline" {
configuration = {
S3Bucket = var.cicd_blue_green_deployment_pipeline_artefact_bucket
S3ObjectKey = "repository.zip"
PollForSourceChanges = "True"
PollForSourceChanges = "False"
}
}
}
Expand Down Expand Up @@ -332,7 +332,6 @@ resource "aws_codepipeline" "cicd_blue_green_deployment_pipeline" {
]
}


module "cicd_blue_green_deployment_pipeline_artefact_bucket" {
source = "../../modules/s3"
name = var.cicd_blue_green_deployment_pipeline_artefact_bucket
Expand All @@ -341,3 +340,19 @@ module "cicd_blue_green_deployment_pipeline_artefact_bucket" {
versioning_enabled = "true"
force_destroy = "true"
}

resource "aws_s3_bucket_notification" "uec-dos-int-dev-eventbridge_blue_green" {
bucket = module.cicd_blue_green_deployment_pipeline_artefact_bucket.s3_bucket_id
eventbridge = true
depends_on = [module.cicd_blue_green_deployment_pipeline_artefact_bucket]
}

module "blue_green_eventbridge_trigger" {
source = "../../modules/eventbridge_pipeline_trigger"
bucket_name = module.cicd_blue_green_deployment_pipeline_artefact_bucket.s3_bucket_id
pipeline_arn = aws_codepipeline.cicd_blue_green_deployment_pipeline.arn
pipeline_role_arn = data.aws_iam_role.pipeline_role.arn
rule_name = var.cicd_blue_green_deployment_pipeline_eventbridge_rule_name
description = "Trigger Blue/Green pipeline when repository.zip is updated"
depends_on = [module.cicd_blue_green_deployment_pipeline_artefact_bucket]
}
Loading
Loading