File tree Expand file tree Collapse file tree 4 files changed +13
-16
lines changed
apps/hash-external-services/postgres Expand file tree Collapse file tree 4 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 1- FROM postgres:17 -alpine3.22
1+ FROM postgres:18.1 -alpine3.23
22
33RUN apk add --no-cache --virtual .build-deps gcc clang19 llvm19 git make musl-dev pkgconf \
44 && git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git \
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ resource "aws_db_subnet_group" "postgres" {
55}
66
77resource "aws_db_parameter_group" "postgres" {
8- name = " ${ var . prefix } -pgparamgrp17 "
9- family = " postgres17 "
8+ name = " ${ var . prefix } -pgparamgrp18 "
9+ family = " postgres18 "
1010
1111 parameter {
1212 name = " password_encryption"
@@ -67,7 +67,7 @@ resource "aws_db_instance" "postgres" {
6767 parameter_group_name = aws_db_parameter_group. postgres . name
6868 enabled_cloudwatch_logs_exports = [" postgresql" , " upgrade" ]
6969 engine = " postgres"
70- engine_version = " 17 "
70+ engine_version = " 18 "
7171 allow_major_version_upgrade = true
7272 instance_class = var. instance_class
7373 db_name = " postgres" # Initial database name
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ resource "aws_instance" "bastion" {
123123 depends_on = [aws_key_pair . bastion_key ]
124124 tags = { Name = local.prefix }
125125 subnet_id = var. subnet_ids [0 ]
126- instance_type = " t3a .nano"
126+ instance_type = " t4g .nano"
127127
128128 launch_template {
129129 name = aws_launch_template. bastion . name
Original file line number Diff line number Diff line change @@ -18,21 +18,18 @@ data "aws_ami" "amazon_linux" {
1818 owners = [" amazon" ]
1919
2020 filter {
21- name = " name"
21+ name = " name"
22+ values = [" al2023-ami-2023.*-kernel-6.1-arm64" ]
23+ }
2224
23- # list with the following command to update:
24- # `aws ec2 describe-images --owners amazon --filters "Name=name,Values=al2023-ami-ecs-hvm-*-x86_64" | jq '.Images | sort_by(.CreationDate) | reverse'`
25- # We don't wildcard here to not accidentally update to a non-functioning image.
26- values = [
27- " al2023-ami-ecs-hvm-2023.0.20250610-kernel-6.1-x86_64" ,
28- ]
25+ filter {
26+ name = " virtualization-type"
27+ values = [" hvm" ]
2928 }
3029
3130 filter {
32- name = " owner-alias"
33- values = [
34- " amazon" ,
35- ]
31+ name = " architecture"
32+ values = [" arm64" ]
3633 }
3734}
3835
You can’t perform that action at this time.
0 commit comments