Commit graph

384 commits

Author SHA1 Message Date
851432b357 database things 2026-02-09 22:10:27 +00:00
Daniel Roth
d1e9e9f7ab uncomment if: env.STAGE == 'prod' 2026-02-09 16:10:00 +00:00
Daniel Roth
dfff8adc3d Apply: generate new role for reading from s3 bucket and attach it to the lambda 2026-02-09 14:20:22 +00:00
2881ecd287 terraform apply based on branch name 2026-02-09 12:35:18 +00:00
5001893490 terraform apply as a string 2026-02-09 12:27:53 +00:00
ffbb621282 made terraform apply work 2026-02-09 12:26:59 +00:00
Daniel Roth
db0431f413 recomment env.stage == 'prod' 2026-02-09 12:20:44 +00:00
Daniel Roth
2e424e227e apply shared stack to generate new s3 bucket 2026-02-09 12:19:17 +00:00
e6d994e0b0 developers 2026-02-09 12:16:52 +00:00
969084c649 check out manual button 2026-02-09 12:11:27 +00:00
3a2abca747 check out manual button 2026-02-09 12:05:28 +00:00
00ea865006 check out manual button 2026-02-09 11:58:20 +00:00
277588e629 check out manual button 2026-02-09 11:49:49 +00:00
Daniel Roth
6dbb8149fd reinstate used github secrets 2026-02-09 09:37:43 +00:00
Daniel Roth
9a9ea9fbaa remove unused bits of config 2026-02-09 09:36:41 +00:00
Daniel Roth
f41da9e93f remove commented out deployment jobs 2026-02-09 09:28:17 +00:00
Daniel Roth
daaa3c560f revert changes to _deploy_lambda 2026-02-09 09:20:50 +00:00
Daniel Roth
bae1735e23 try using shared resource to fetch secrets 2026-02-06 16:22:53 +00:00
Daniel Roth
d44fdcd01c try again 2026-02-06 15:22:36 +00:00
Daniel Roth
2fe9e67ea9 ensure env vars string is correct format 2026-02-06 15:16:15 +00:00
Daniel Roth
4c0713b415 include env vars in condition-etl lambda variabls 2026-02-06 15:06:46 +00:00
Daniel Roth
78caa1e6ae format env vars correctly in terraform plan 2026-02-06 14:49:53 +00:00
Daniel Roth
aff3113d52 only load env vars to lambda during deployment if they are provided 2026-02-06 14:44:50 +00:00
Daniel Roth
dda05a4f33 include environment vars in lambda terraform plan 2026-02-06 14:34:43 +00:00
Daniel Roth
948c238468 include environment_vars on deploy_lambda workflow 2026-02-06 13:25:58 +00:00
Daniel Roth
321a4505fb no need to get region as env var 2026-02-06 13:23:15 +00:00
Daniel Roth
f66aa25268 new terraform job to fetch db credentials from secrets manager 2026-02-06 13:19:36 +00:00
Daniel Roth
9ae81c1099 reinstate build args and check whether imports work now 2026-02-06 11:39:53 +00:00
Daniel Roth
f10951f81d try without build args 2026-02-06 11:24:00 +00:00
Daniel Roth
b8283abc45 try getting all db vars from github secrets 2026-02-06 11:16:34 +00:00
7c8a3858e7 DEV DB_HSOT 2026-02-05 18:03:35 +00:00
f986f85cfa m ore logs 2026-02-05 17:56:22 +00:00
09905cf681 more logs 2026-02-05 17:55:24 +00:00
d29ccecefb more logs 2026-02-05 17:54:10 +00:00
Daniel Roth
9c7678865f add env to step 2026-02-05 17:32:32 +00:00
Daniel Roth
02a0e83a39 correct variable name 2026-02-05 17:28:16 +00:00
Daniel Roth
b42996a3c8 try dev_DB_HOST 2026-02-05 17:25:17 +00:00
Daniel Roth
bf1bb72dd7 echo variables to check values 2026-02-05 16:58:15 +00:00
Daniel Roth
7bc5c4e34d echo variables to check values 2026-02-05 16:55:41 +00:00
Daniel Roth
216f32709f changes to try and get it to work 2026-02-05 16:47:43 +00:00
Daniel Roth
c21de78020 pass secrets to build args via env vars 2026-02-05 16:33:12 +00:00
Daniel Roth
10088625ae add secret back in 2026-02-05 16:26:19 +00:00
Daniel Roth
241d3f7d77 add additional env 2026-02-05 16:25:25 +00:00
Daniel Roth
688290486a revert back to working version 2026-02-05 16:24:13 +00:00
Daniel Roth
0fa9f8bd43 get db host from secrets 2026-02-05 16:19:58 +00:00
Daniel Roth
10765ae0a4 get db host from secrets 2026-02-05 16:10:21 +00:00
Daniel Roth
44f75c355a correct quotes in build args 2026-02-05 16:04:08 +00:00
Daniel Roth
33770e263c modify build args 2026-02-05 15:59:37 +00:00
Daniel Roth
c837453aed Write build args and removes line breaks 2026-02-05 15:38:48 +00:00
Daniel Roth
2a88271a77 remove spurious spaces 2026-02-05 15:32:46 +00:00