sul-dlss-deprecated / taco

Apache License 2.0
10 stars 7 forks source link

Make error #421

Closed jcoyne closed 6 years ago

jcoyne commented 6 years ago
$ make resources

string index out of range
/bin/sh: -c: line 0: conditional binary operator expected
/bin/sh: -c: line 0: syntax error near `""'
/bin/sh: -c: line 0: `if [[  != "" ]];   then echo " table found";  else aws --endpoint-url=http://:4569 dynamodb create-table --table-name resources --attribute-definitions AttributeName=tacoIdentifier,AttributeType=S      AttributeName=externalIdentifier,AttributeType=S            AttributeName=version,AttributeType=N           --key-schema "AttributeName=tacoIdentifier,KeyType=HASH"            --provisioned-throughput=ReadCapacityUnits=10,WriteCapacityUnits=10             --global-secondary-indexes "IndexName=ResourceByExternalIDAndVersion,           KeySchema=[{AttributeName=externalIdentifier,KeyType=HASH},                        {AttributeName=version,KeyType=RANGE}],              Projection={ProjectionType=ALL},                ProvisionedThroughput={ReadCapacityUnits=10,WriteCapacityUnits=10}" ; fi;'
make: *** [table] Error 2

It seems better if I set LOCAL_ENDPOINT_HOST=localhost. Should this be the default?