Commit graph

89 commits

Author SHA1 Message Date
Daniel Roth
f799466325 make versioning optional on all s3 buckets, default false 2026-04-28 10:05:38 +00:00
Daniel Roth
30ac251705 limit pashub lambda concurrency to 1 2026-04-21 08:35:52 +00:00
Daniel Roth
7821666f83 add empty line back in 2026-03-18 14:53:44 +00:00
Daniel Roth
7544700618 always run pip install 2026-03-18 14:13:38 +00:00
Daniel Roth
3aefba7ba7 do not recreate certificate every deploy 2026-03-17 17:02:52 +00:00
Daniel Roth
e9f37e7959 add certificate for cdn 2026-03-17 11:37:37 +00:00
Daniel Roth
c91193ed22 use managed cloudfront caching and forwarding policies instead of defining our own 2026-03-17 09:42:16 +00:00
Daniel Roth
867cebc9f2 add cloudwatch logging to api gateway deployment 2026-03-17 09:16:21 +00:00
Daniel Roth
98ad7d1d7c disable query string behaviour caching as caching time is set to 0 2026-03-16 16:06:20 +00:00
Daniel Roth
ce68470f25 Replace forwarded_values with cache_policy and origin_request_policy for API origin 2026-03-16 15:11:59 +00:00
Daniel Roth
976fd0b376 set caching behaviour based on request origin - api v s3 2026-03-16 12:11:15 +00:00
Daniel Roth
23df9442c9 revert to using invoke_url but correct the replace method 2026-03-16 09:39:17 +00:00
Daniel Roth
1e1bd7ead2 use api_endpoint rather than invoke_url in cdn deployment 2026-03-13 15:42:57 +00:00
Daniel Roth
e78900f0b6 correct more terraform syntax 2026-03-13 14:13:14 +00:00
Daniel Roth
53bbb57a67 fix incorrect terraform syntax 2026-03-13 14:01:43 +00:00
Daniel Roth
4e6dd546ce make sure domain_name is exported from lambda_with_api_gateway for use by fast-api 2026-03-13 13:38:11 +00:00
Daniel Roth
b96b71a05a fix incorrect variables and references 2026-03-13 11:59:59 +00:00
Daniel Roth
ddcfa75a03 address PR 2026-03-13 11:16:41 +00:00
Daniel Roth
b7bee7486c deploy cdn as its own job, depending on fastapi 2026-03-13 09:51:48 +00:00
Daniel Roth
6e05bd2352 delete unused stuff 2026-03-12 17:31:59 +00:00
Daniel Roth
49e544d10f add cloudfront for domain setting 2026-03-12 17:29:47 +00:00
Daniel Roth
2d5357ed7a ensure pip install takes place every run 2026-03-12 13:51:04 +00:00
Daniel Roth
80cbb6027b move the depends_on pip install to the correct place 2026-03-12 12:26:04 +00:00
Daniel Roth
93915efd9d ensure pip install runs before zip by moving the install command to lambda_with_api_gateway 2026-03-12 12:02:55 +00:00
Daniel Roth
b55b601c15 ignore infrastucture file when zipping python 2026-03-12 11:45:25 +00:00
Daniel Roth
db9f6c1616 remove duplicate variable from main.tf 2026-03-12 11:08:27 +00:00
Daniel Roth
5f948da2ec delete duplicate variable in lambda_service_with_zip 2026-03-12 10:59:30 +00:00
Daniel Roth
597fb2e764 modify key to match tfstate path 2026-03-12 10:47:27 +00:00
Daniel Roth
c58cfee0b6 upload zip to s3 rather than copying via api 2026-03-12 10:41:08 +00:00
Daniel Roth
5a6294b79e exclude tests from lambda zip 2026-03-11 17:45:15 +00:00
Daniel Roth
e8c839f3e4 no single line variables with defaults. and typos 2026-03-11 12:02:22 +00:00
Daniel Roth
05843ab462 comment out custom_domain_endpoint in outputs.tf 2026-03-11 10:56:09 +00:00
Daniel Roth
7cade00db0 commented out custom domain stuff for now 2026-03-11 10:54:44 +00:00
Daniel Roth
3423ca76fb define terraform for lambda_with_api_gateway and lambda_service_zip 2026-03-10 10:00:08 +00:00
Daniel Roth
54255942f9 add lambda_service_zip and lambda_with_api_gateway terraform modules 2026-03-10 08:51:08 +00:00
Daniel Roth
7a2587fc9b correct relative paths in moved module 2026-03-09 14:51:53 +00:00
Daniel Roth
63cb200e95 correct relative paths in moved module 2026-03-09 14:42:51 +00:00
Daniel Roth
71c0e6b2f3 move lambda_with_sqs to terraform/modules 2026-03-09 13:39:09 +00:00
Daniel Roth
4d2305fdd2 add comment back in 2026-03-09 09:40:35 +00:00
Daniel Roth
2973a4f2f1 ensure bucket root is included in s3 iam policy rules 2026-03-09 09:39:25 +00:00
Khalim Conn-Kowlessar
2312b65819 added sns topic for ses debugging: 2026-03-05 16:35:42 +00:00
546cc2a58f added lambda in parrael code 2026-02-18 12:17:23 +00:00
0afa8b3aba sqs time out redploy 2026-02-16 17:29:10 +00:00
c7c208334e lets view plan for now 2026-02-16 16:54:35 +00:00
762dccde01 run this end to end 2026-02-11 16:44:08 +00:00
203843c387 added new files 2026-02-11 13:16:11 +00:00
12185bffa6 destroy condition 2026-02-10 16:17:28 +00:00
507ecfb8a1 terrform files 2026-02-10 15:49:04 +00:00
65daf388da sqs policy 2026-02-09 16:43:46 +00:00
e1ce16e3cd polciy 2026-02-09 16:28:33 +00:00