Commit graph

3940 commits

Author SHA1 Message Date
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
2148b02a0d Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-17 09:14:21 +00:00
Jun-te Kim
ac548b8c6d
Merge pull request #890 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform:  Disable query string behaviour caching as caching time is set to 0
2026-03-16 16:08:34 +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
23aaa46a5e Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-16 16:04:06 +00:00
Jun-te Kim
19f603d78f
Merge pull request #888 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: Replace forwarded_values with cache_policy and origin_request_policy for API origin
2026-03-16 15:54:00 +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
adabbd0a2a Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-16 14:50:53 +00:00
Jun-te Kim
84dbe5bf93
Merge pull request #886 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: set caching behaviour based on request origin - api v s3
2026-03-16 12:25:50 +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
375da2ed56 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-16 12:09:52 +00:00
Daniel Roth
dd349a7435
Merge pull request #884 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: Correct domain name passed to cloudfront
2026-03-16 09:52:21 +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
6e43824f94 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-16 09:35:56 +00:00
Daniel Roth
1f0be93b50
Merge pull request #882 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: use api_endpoint rather than invoke_url to get api domain
2026-03-13 15:47:36 +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
c18d0f70a8 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-13 15:42:27 +00:00
Daniel Roth
fad25e5491
Merge pull request #880 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: set aliases
2026-03-13 15:20:54 +00:00
Daniel Roth
4921217b78 empty aliases 2026-03-13 15:20:33 +00:00
Daniel Roth
928e417373 delete comment 2026-03-13 15:18:35 +00:00
Daniel Roth
78e41f2227 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-13 15:17:55 +00:00
Daniel Roth
1056dda939 set aliases 2026-03-13 15:17:18 +00:00
Jun-te Kim
c8d641fe05
Merge pull request #878 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: dont try to use shared/.tfvars when deploying cloudfront cdn
2026-03-13 15:04:17 +00:00
Daniel Roth
1dc3b0db2c Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-13 15:01:11 +00:00
Daniel Roth
20cc5a3059 dont try to use shared/.tfvars when deploying cloudfront cdn 2026-03-13 15:00:46 +00:00
Jun-te Kim
aade3a42ab
Merge pull request #875 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: dont use _deploy_lambda workflow
2026-03-13 14:40:08 +00:00
Daniel Roth
3f10af0be5 dont try to use _deploy_lambda for cdn 2026-03-13 14:35:33 +00:00
Daniel Roth
81db5d5420 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-13 14:32:58 +00:00
Jun-te Kim
0293e968b6
Merge pull request #873 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: syntax fix
2026-03-13 14:16:12 +00:00
Daniel Roth
e78900f0b6 correct more terraform syntax 2026-03-13 14:13:14 +00:00
Daniel Roth
23f0d87504 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-13 14:13:00 +00:00
Jun-te Kim
ea80c19a49
Merge pull request #871 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: syntax error
2026-03-13 14:03:20 +00:00
Daniel Roth
53bbb57a67 fix incorrect terraform syntax 2026-03-13 14:01:43 +00:00
Daniel Roth
ddfaa5f4b0 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-13 13:51:44 +00:00
Jun-te Kim
d85c27996d
Merge pull request #869 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: correct outputs
2026-03-13 13:39:20 +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
bfc0c268ee Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-13 13:37:43 +00:00
Jun-te Kim
cc60790471
Merge pull request #867 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: Fix incorrect references
2026-03-13 12:04:36 +00:00
Daniel Roth
b96b71a05a fix incorrect variables and references 2026-03-13 11:59:59 +00:00
Daniel Roth
71bc67a4b1 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-13 11:42:16 +00:00
Jun-te Kim
18ca4cb347
Merge pull request #865 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: Configure CDN which works for both S3 and API Gateway
2026-03-13 11:19:05 +00:00
Daniel Roth
ddcfa75a03 address PR 2026-03-13 11:16:41 +00:00
Daniel Roth
33406ff678 cdn depends on shared 2026-03-13 09:53:40 +00:00
Daniel Roth
b7bee7486c deploy cdn as its own job, depending on fastapi 2026-03-13 09:51:48 +00:00
Daniel Roth
aac9b784f3 use new domain from github secrets 2026-03-12 17:37:12 +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
3cadecfe9b from domain_name from engine environment 2026-03-12 14:47:55 +00:00
Daniel Roth
83e502a361 from domain_name from engine environment 2026-03-12 14:47:28 +00:00