Open kailyliu opened 9 months ago
can also pass sns endpoints to scripts, and run them in script 1
-- not sure if it is possible to pass api endpoint to glitch (or whatever web app it is hosted on) (i.e. make terraform update the interface code, and then deploy)
goal: terraform script(s) that will create ddb, lambda functions, sns, api gateway, run mturk scripts
flow: script 1 1) ddbs (dependency on lambdas) 2) lambdas (dependency on sns, api gateway) 3) sns - addresses need to be outputted 4) api gateway - endpoint also needs to be outputted
manual ? update scripts w/ sns endpoints and glitch with api endpoint (to-do: host glitch & iframe component somewhere)
script 2 ? 1) run scripts to create HITs