-
Notifications
You must be signed in to change notification settings - Fork 0
Remove Google Cloud Function for transferring data to BiqQuery #319
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good and the plan looks good 👍
I am expecting that there is probably more in this repo that can be removed off the back of this. First thing that comes to mind is the function itself: https://github.com/alphagov/search-v2-infrastructure/tree/remove-user-events-runs/terraform/environment/files/vertex_events_push ?
I'm not sure if there are other bits or comments that might be out of date too?
I think these bits might be removable: search-v2-infrastructure/terraform/environment/events_ingestion.tf Lines 320 to 364 in 3c43d36
|
I'm a bit unclear on these roles too: search-v2-infrastructure/terraform/environment/events_ingestion.tf Lines 300 to 318 in 3c43d36
|
3c43d36
to
5f73efd
Compare
@kevindew yes, looks to me like these sections can also be removed. I've updated the PR accordingly. |
Thanks Chae - we've also got the function itself - the whole directory of https://github.com/alphagov/search-v2-infrastructure/tree/main/terraform/environment/files/vertex_events_push. I'm going to have a scan see if there's anything else I can see that seems redundant. |
I've had a scan and I think it's just the function code that needs to be removed further. |
The functionality of this Google Cloud Function has been integrated directly into the Search API repo via two rake tasks alphagov/search-api-v2#351. This commit removes the function itself and related Terraform scheduling.
5f73efd
to
0cf5c51
Compare
@kevindew Ah yes, I didn't actually realise that was defined here, but it makes sense. I've removed it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super, looks good to me
The functionality of this Google Cloud Function has been integrated directly into the Search API repo via two rake tasks alphagov/search-api-v2#351. These are scheduled via cron tasks: alphagov/govuk-helm-charts#2825
This commit removes the function itself and related Terraform scheduling.