Commit Graph

59 Commits

Author SHA1 Message Date
Tom Alexander 7167e3fa32
Switch to new way to specify cpu usage. 2021-07-24 23:10:52 -04:00
Tom Alexander 3654b13a66
Merge branch 'autoscaling' 2021-07-24 23:00:30 -04:00
Tom Alexander c1d18e0fe5
Scaling based on CPU usage. 2021-07-24 22:36:48 -04:00
Tom Alexander fc7e54ea8a
Always pull image. 2021-07-24 22:25:40 -04:00
Tom Alexander 9222476444
Expose it as a service. 2021-07-24 22:20:42 -04:00
Tom Alexander 35f3265659
Add auto scale deployment. 2021-07-24 21:48:24 -04:00
Tom Alexander 6f2ee8f880
Make GCP project a variable also. 2021-07-24 21:31:51 -04:00
Tom Alexander 2a225de2f9
Create an echo service docker image. 2021-07-24 21:23:40 -04:00
Tom Alexander 09c7cc8d03
Randomize temp storage bucket. 2021-07-22 22:02:08 -04:00
Tom Alexander ed106036dd
Merge branch 'cf_to_bq' 2021-07-21 01:48:29 -04:00
Tom Alexander b0092be5d6
Add support for a second function to log directly to bigquery. 2021-07-21 01:35:45 -04:00
Tom Alexander 23a0d041ba
Merge branch 'cloudfunc' 2021-07-20 23:37:42 -04:00
Tom Alexander 7bf8370650
Push events to pubsub. 2021-07-20 23:26:14 -04:00
Tom Alexander f457cf2a6c
Put on a limit of max instances. 2021-07-20 23:03:01 -04:00
Tom Alexander d90b267848
Add example curl. 2021-07-20 22:38:16 -04:00
Tom Alexander 75f760695b
Ignore built zips. 2021-07-20 22:34:07 -04:00
Tom Alexander 7fa8ffee88
Allow external connections. 2021-07-20 22:31:20 -04:00
Tom Alexander e3b6049f60
Initial setup of a cloud function. 2021-07-20 22:24:32 -04:00
Tom Alexander b0bc1c1520
Add a field for the time partitioning. 2021-07-20 01:55:02 -04:00
Tom Alexander 0596d2f359
Merge branch 'bq' 2021-07-20 01:18:26 -04:00
Tom Alexander 5241df2d94
Add bigquery table. 2021-07-20 01:16:38 -04:00
Tom Alexander e88ba72449
Add dataflow job. 2021-07-20 01:16:38 -04:00
Tom Alexander 879ea6cc60
Add pubsub topic and subscription. 2021-07-20 01:16:36 -04:00
Tom Alexander 63799618da
Merge branch 'workload_identity' 2021-07-20 01:14:55 -04:00
Tom Alexander c3e5b70a84
Add require_tls param to cloudsql module. 2021-07-18 22:58:09 -04:00
Tom Alexander b087d1eed9
Output a connection URL for cloudsql. 2021-07-18 21:47:20 -04:00
Tom Alexander dfb5191868
Add cloudsql ip address output. 2021-07-18 21:26:21 -04:00
Tom Alexander fd63ea2c43
Generate a postgresql certificate. 2021-07-18 21:19:08 -04:00
Tom Alexander 8a7fa68a6e
Add IAM auth and set postgres user password. 2021-07-18 20:49:50 -04:00
Tom Alexander 78b497783b
Add a cloudsql username output from the workload identity module. 2021-07-18 18:45:27 -04:00
Tom Alexander 5945ad86a8
Add the sqladmin google project service. 2021-07-18 18:33:30 -04:00
Tom Alexander 349d40c8f6
Add binding. 2021-07-18 18:27:42 -04:00
Tom Alexander 94b6a187e0
Add an output for the generated service account. 2021-07-18 18:27:42 -04:00
Tom Alexander e17e2f24a7
Create the google service account. 2021-07-18 18:27:42 -04:00
Tom Alexander 06b787ef97
Start a module for creating a workload identity service account. 2021-07-18 18:27:42 -04:00
Tom Alexander bae77832d2
Add machine type variable to GKE. 2021-07-18 18:27:24 -04:00
Tom Alexander 858d8ad35a
Require ssl for cloudsql. 2021-07-18 16:37:40 -04:00
Tom Alexander 6e99a33921
Merge branch 'modularize' 2021-07-13 22:20:09 -04:00
Tom Alexander 40f4a8c398
Fix ip exhaustion by increasing services ip address range. 2021-07-13 22:14:40 -04:00
Tom Alexander 2cf9f93de6
Add in secondary range, but not working due to wrong network. 2021-07-13 22:13:48 -04:00
Tom Alexander b92396d321
Switch to using an explicit net/subnet. 2021-07-13 22:13:47 -04:00
Tom Alexander 9d8a1f2142
Move GKE to its own module. 2021-07-13 22:13:47 -04:00
Tom Alexander a6c408c3c6
Reduce range for private services to a /24 2021-07-13 22:13:47 -04:00
Tom Alexander d8182298bc
Remove the old redis code. 2021-07-13 22:13:45 -04:00
Tom Alexander dc51189bcd
Merge branch 'redis' 2021-07-12 23:19:10 -04:00
Tom Alexander 7f186956db
Add a private redis instance. 2021-07-12 23:18:13 -04:00
Tom Alexander 49999fbf67
Merge branch 'cloudsql' 2021-07-12 22:28:57 -04:00
Tom Alexander b8216c71be
Only use local networking for cloudsql. 2021-07-12 22:26:32 -04:00
Tom Alexander 07b38295c3
Starting a networking module to get a private ip address for cloudsql. 2021-07-12 22:26:32 -04:00
Tom Alexander edb515da09
Add a cloudsql instance. 2021-07-12 00:06:49 -04:00