Skip to content

Commit 6c48df6

Browse files
committed
Fix subnet group creation according to published schema
1 parent 833e1b6 commit 6c48df6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

functions/vectordb/function/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"""The version of the function."""
1616

1717
# This is set at build time, using "hatch version"
18-
__version__ = "0.0.6"
18+
__version__ = "0.0.7"

functions/vectordb/function/fn.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,11 @@ def _create_subnet_group(self, config: VectorDBConfig) -> dict:
405405
"spec": {
406406
"forProvider": {
407407
"region": config.region,
408-
"subnetIdsSelector": {
408+
"subnetIdSelector": {
409409
"matchLabels": {
410410
"app": "vectordb",
411411
"environment": config.environment_suffix,
412+
"type": "database",
412413
},
413414
},
414415
"description": f"Subnet group for {config.postgres_cluster_name}",

0 commit comments

Comments
 (0)