Commit graph

3964 commits

Author SHA1 Message Date
Daniel Roth
b59b248ba0 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-19 09:39:43 +00:00
Daniel Roth
14e139150f
Merge pull request #907 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: save CDN terraform state so it isn't recreated every deploy
2026-03-19 09:35:27 +00:00
Daniel Roth
50696c9ef4 save cloudfront tfstate 2026-03-19 08:36:51 +00:00
Daniel Roth
9d8a66509e Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-18 17:17:42 +00:00
Daniel Roth
471c331df8
Merge pull request #904 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: Always install python packages
2026-03-18 16:20:05 +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
de7c8aadfd Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-18 11:45:44 +00:00
Jun-te Kim
f727e8336e
Merge pull request #902 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: dont recreate certificates every time
2026-03-17 17:10:43 +00:00
Daniel Roth
63c0f84523 update gitignore to ignore terraform outputs 2026-03-17 17:08:59 +00:00
Daniel Roth
3aefba7ba7 do not recreate certificate every deploy 2026-03-17 17:02:52 +00:00
KhalimCK
b580dfcdcc
Merge pull request #900 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: ensure cdn certificate state bucket is populated
2026-03-17 12:28:24 +00:00
Daniel Roth
8f114d4e0e Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-17 12:23:35 +00:00
Daniel Roth
4b40520288 make sure cdn certificate state is stored 2026-03-17 12:23:19 +00:00
Daniel Roth
5978e16654
Merge pull request #898 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: hardcode tfstate bucket names when accessing them
2026-03-17 12:03:48 +00:00
Daniel Roth
93d1dc0ef2 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-17 12:01:02 +00:00
Daniel Roth
f84a5cd762 hardcode state bucket names 2026-03-17 12:00:43 +00:00
Daniel Roth
246e6aa1c6
Merge pull request #896 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: add certificate
2026-03-17 11:51:27 +00:00
Daniel Roth
3d0a37cf22 certificate depends on shared because of tfstate bucket 2026-03-17 11:47:56 +00:00
Daniel Roth
e9f37e7959 add certificate for cdn 2026-03-17 11:37:37 +00:00
Daniel Roth
0540d4bab5 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-17 10:14:49 +00:00
KhalimCK
316fac48b4
Merge pull request #894 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: use managed cloudfront policies
2026-03-17 09:49:40 +00:00
Daniel Roth
91d97a6257 Merge branch 'main' into deploy-fastapi-with-terraform 2026-03-17 09:42:42 +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
KhalimCK
1e7d900a47
Merge pull request #892 from Hestia-Homes/deploy-fastapi-with-terraform
Deploy fastapi with terraform: api gateway logging
2026-03-17 09:22:55 +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