Skip to content

Commit 37fb7d7

Browse files
committed
updated README.md
1 parent d5d27ea commit 37fb7d7

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

gcp_cloud_function_sql_export/README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,19 @@ Upload the function to GCF in the current GCP project - this script will call `g
1717
./deploy.sh
1818
```
1919

20-
or use the [Serverless](https://www.serverless.com/) framework for which a `serverless.yml` config is provided:
20+
### Solution Dependencies
21+
22+
- a [Cloud PubSub](https://cloud.google.com/pubsub) topic
23+
- [Cloud Scheduler](https://cloud.google.com/scheduler) jobs to trigger backups
24+
- see `gcp_cloud_schedule_sql_exports.sh` in [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo
25+
- a service account with permissions to access [Cloud SQL](https://cloud.google.com/sql)
26+
- see `gcp_sql_create_readonly_service_account.sh` in [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo
27+
- each [Cloud SQL](https://cloud.google.com/sql) instance to be backed up requires objectCreator permissions to the [GCS](https://cloud.google.com/storage) bucket
28+
- see `gcp_sql_grant_instances_gcs_object_creator.sh` in [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo
29+
30+
### Serverless Framework
31+
32+
You can also use the [Serverless](https://www.serverless.com/) framework for which a `serverless.yml` config is provided:
2133

2234
```
2335
serverless deploy
@@ -38,13 +50,3 @@ You can also build a serverless artifact to `.serverless/` without deploying it
3850
```
3951
serverless package
4052
```
41-
42-
### Solution Dependencies
43-
44-
- a [Cloud PubSub](https://cloud.google.com/pubsub) topic
45-
- [Cloud Scheduler](https://cloud.google.com/scheduler) jobs to trigger backups
46-
- see `gcp_cloud_schedule_sql_exports.sh` in [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo
47-
- a service account with permissions to access [Cloud SQL](https://cloud.google.com/sql)
48-
- see `gcp_sql_create_readonly_service_account.sh` in [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo
49-
- each [Cloud SQL](https://cloud.google.com/sql) instance to be backed up requires objectCreator permissions to the [GCS](https://cloud.google.com/storage) bucket
50-
- see `gcp_sql_grant_instances_gcs_object_creator.sh` in [DevOps Bash tools](https://github.com/HariSekhon/DevOps-Bash-tools/) repo

0 commit comments

Comments
 (0)