Skip to content

Commit e3cfb85

Browse files
committed
fix: add stac ingestor to the pgbouncer security group
1 parent 7413ab6 commit e3cfb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def __init__(
252252
stage=app_config.stage,
253253
data_access_role=data_access_role,
254254
stac_db_secret=pgstac_db.pgstac_secret,
255-
stac_db_security_group=pgstac_db.db.connections.security_groups[0],
255+
stac_db_security_group=pgstac_db.security_group,
256256
# If the db is not in the public subnet then we need to put
257257
# the lambda within the VPC
258258
vpc=vpc if not app_config.public_db_subnet else None,

0 commit comments

Comments
 (0)