We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7413ab6 commit e3cfb85Copy full SHA for e3cfb85
infrastructure/app.py
@@ -252,7 +252,7 @@ def __init__(
252
stage=app_config.stage,
253
data_access_role=data_access_role,
254
stac_db_secret=pgstac_db.pgstac_secret,
255
- stac_db_security_group=pgstac_db.db.connections.security_groups[0],
+ stac_db_security_group=pgstac_db.security_group,
256
# If the db is not in the public subnet then we need to put
257
# the lambda within the VPC
258
vpc=vpc if not app_config.public_db_subnet else None,
0 commit comments