Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
update terraform to provision endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
vggonzal authored and vggonzal committed Aug 3, 2023
1 parent c9b0ba8 commit 3f12d93
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/example_load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
from decimal import Decimal
import geopandas as gpd

from pytest_dynamodb import factories

from hydrocron_database import Hydrocron_DB


# ## Set up the connection to dynamoDB
Expand All @@ -23,11 +22,10 @@
aws_session_token='fake_session_token',
region_name='us-west-2')

dyndb_resource = session.resource('dynamodb', endpoint_url='http://localhost:8001')
dyndb_resource = session.resource('dynamodb', endpoint_url='http://localhost:8000')

dynamo_instance = Hydrocron_DB(dyn_resource=dyndb_resource)

dynamodb_my_proc = factories.dynamodb_proc(dynamodb_dir="/", port=8001, delay=True)
dyndb_resource = factories.dynamodb('dynamodb')

# ## Create the table & load data

Expand Down

0 comments on commit 3f12d93

Please sign in to comment.