https://github.com/onsdigital/takeon-db-export-lambda
https://github.com/onsdigital/takeon-db-export-lambda
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/onsdigital/takeon-db-export-lambda
- Owner: ONSdigital
- Archived: true
- Created: 2019-09-10T10:35:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-09T09:44:48.000Z (over 5 years ago)
- Last Synced: 2025-06-16T13:14:54.987Z (about 1 year ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# takeon-db-export-lambda
This repository is used to do the following -
1. access Business layer's GraphQL Endpoint that returns the whole database as Json String
2. Saves the Json String of Step 1 into a file in S3 bucket
## Dependency
The business layer's Load Balancer should be up and running. Also it should allow access to NAT's public IP so that this Lambda can access the endpoint.
## Environment variables in Lamda
GRAPHQL_ENDPOINT
S3_BUCKET
## Lambda URL
https://eu-west-2.console.aws.amazon.com/lambda/home?region=eu-west-2#/functions/takeon-db-export-lambda-dev-main?tab=graph