{"id":13343743,"url":"https://github.com/graphql-editor/zeit-aurora-integration","last_synced_at":"2025-04-22T23:27:20.046Z","repository":{"id":40746968,"uuid":"189703235","full_name":"graphql-editor/zeit-aurora-integration","owner":"graphql-editor","description":"Integration of zeit now with AWS Aurora - Easy serverless SQL database","archived":false,"fork":false,"pushed_at":"2022-06-25T00:41:49.000Z","size":49,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-17T16:03:19.830Z","etag":null,"topics":["aurora","integration","serverless","sql","zeit"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphql-editor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-01T07:21:56.000Z","updated_at":"2020-09-23T15:39:20.000Z","dependencies_parsed_at":"2022-09-11T03:20:39.913Z","dependency_job_id":null,"html_url":"https://github.com/graphql-editor/zeit-aurora-integration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fzeit-aurora-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fzeit-aurora-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fzeit-aurora-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fzeit-aurora-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphql-editor","download_url":"https://codeload.github.com/graphql-editor/zeit-aurora-integration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250339382,"owners_count":21414351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aurora","integration","serverless","sql","zeit"],"created_at":"2024-07-29T19:31:57.611Z","updated_at":"2025-04-22T23:27:20.022Z","avatar_url":"https://github.com/graphql-editor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](./gfx/zeit-aurora-feature-integration.jpg)\n\n# Zeit now aurora integration\n\nThis is (https://zeit.co)[zeit.now] integration for (https://aws.amazon.com/rds/aurora/)[AWS Aurora] Data Http API. Create Serverless SQL in minutes\n\n## How to use it\n\n1. Add AWS Aurora - Serverless SQL integration. \n2. Setup with your AWS Account\n3. Add new cluster\n4. Link the cluster to the project\n\nAfter that new env variables are added to your zeit project\n\n### Env variables\n\n```\nAURORA_SECRET_ACCESS_KEY\nAURORA_ACCESS_KEY_ID\nAURORA_SECRET_ARN\nAURORA_CLUSTER_NAME\nAURORA_CLUSTER_ARN\nAURORA_REGION\n```\n\n```ts\nimport micro from \"micro\";\nimport AWS from \"aws-sdk\";\n\nexport default micro(async (req, res) =\u003e {\n  const rdsDataService = new AWS.RDSDataService({\n    accessKeyId: process.env.AURORA_ACCESS_KEY_ID,\n    region: process.env.AURORA_REGION,\n    secretAccessKey: process.env.AURORA_SECRET_ACCESS_KEY\n  });\n\n  const params = {\n    secretArn: process.env.AURORA_SECRET_ARN!,\n    resourceArn: process.env.AURORA_CLUSTER_ARN!,\n    sql: `CREATE DATABASE cats`\n  };\n\n  // const params = {\n  //   secretArn: process.env.AURORA_SECRET_ARN!,\n  //   resourceArn: process.env.AURORA_CLUSTER_ARN!,\n  //   sql: `SELECT * from cats where id=:id`,\n  //   parameters: [\n  //     {\n  //       name: \"id\",\n  //       value: {\n  //         longValue: 1\n  //       }\n  //     }\n  //   ]\n  // };\n\n  let data = await rdsDataService.executeStatement(params).promise();\n\n  return \"done\";\n});\n\n```\n\nYou can run this sample code in your zeit instance\n\n## To be done\n\n- [x] Setup with AWS keys\n- [x] Add Aurora Cluster\n- [x] Remove Aurora Cluster\n- [x] Connect Aurora Cluster to project\n- [x] Autogenerate cluster name\n- [ ] Provide more examples\n- [ ] Disconnect clusters from project\n- [ ] Provide cluster with name and description\n- [ ] Implement separate IAM Accounts for project runners","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-editor%2Fzeit-aurora-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphql-editor%2Fzeit-aurora-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-editor%2Fzeit-aurora-integration/lists"}