generated from NHSDigital/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13f59cb
commit 2b84cf8
Showing
19 changed files
with
171 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
output "log_analytics_workspace_id" { | ||
value = { | ||
for k, v in module.log_analytics_workspace_audit : k => { | ||
id = v.id | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
locals { | ||
primary_region = [for k, v in var.regions : k if v.is_primary_region][0] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
CREATE USER [dev-uks-si-create-participant-screening-episode-data] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-create-participant-screening-episode-data]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-create-participant-screening-episode-data]; | ||
|
||
CREATE USER [dev-uks-si-create-participant-screening-profile-data] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-create-participant-screening-profile-data]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-create-participant-screening-profile-data]; | ||
|
||
CREATE USER [dev-uks-si-create-participant-screening-episode] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-create-participant-screening-episode]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-create-participant-screening-episode]; | ||
|
||
CREATE USER [dev-uks-si-create-participant-screening-profile] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-create-participant-screening-profile]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-create-participant-screening-profile]; | ||
|
||
CREATE USER [dev-uks-si-get-demographics-data] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-get-demographics-data]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-get-demographics-data]; | ||
|
||
CREATE USER [dev-uks-si-create-episode] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-create-episode]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-create-episode]; | ||
|
||
CREATE USER [dev-uks-si-get-episode] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-get-episode]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-get-episode]; | ||
|
||
CREATE USER [dev-uks-si-update-episode] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-update-episode]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-update-episode]; | ||
|
||
CREATE USER [dev-uks-si-receive-data] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-receive-data]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-receive-data]; | ||
|
||
CREATE USER [dev-uks-si-create-update-episode] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-create-update-episode]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-create-update-episode]; | ||
|
||
CREATE USER [dev-uks-si-get-episode-mgmt] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-get-episode-mgmt]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-get-episode-mgmt]; | ||
|
||
CREATE USER [dev-uks-si-retrieve-mesh-file-from-cm] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-retrieve-mesh-file-from-cm]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-retrieve-mesh-file-from-cm]; | ||
|
||
CREATE USER [dev-uks-si-get-participant] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-get-participant]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-get-participant]; | ||
|
||
CREATE USER [dev-uks-si-update-participant] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-update-participant]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-update-participant]; | ||
|
||
CREATE USER [dev-uks-si-get-organisation-data] FROM EXTERNAL PROVIDER; | ||
ALTER ROLE [db_datareader] ADD MEMBER [dev-uks-si-get-organisation-data]; | ||
ALTER ROLE [db_datawriter] ADD MEMBER [dev-uks-si-get-organisation-data]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/BIAnalyticsService/CreateParticipantScreeningEpisode/delme
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +0,0 @@ | ||
|
||
|
||
|
||
|
||
|
||