Cronjob to make ETH RPC call every minute
nvm install 18.18
nvm use 18.18
yarn install
# create .env file similar to env.example
serverless offline
- IAM role
- Chain JSON-RPC url
# need aws cli configured w cloud-formation access
serverless deploy
# OR
serverles deploy --aws-profile profileName
- AmazonAPIGatewayAdministrator
- AmazonS3FullAccess
- AWSCloudFormationFullAccess
- AWSLambda_FullAccess
- CloudWatchLogsFullAccess
- IAMFullAccess
- AmazonEventBridgeFullAccess
- delete cloudformation attempt if you see this error
is in ROLLBACK_COMPLETE state and can not be updated