Architect preferences (
prefs.arc) defines settings for local Architect workflows. This file is intended to be added to
arc sandbox preferences.
env - Boolean
Advanced option: set the
NODE_ENV stage to
production and use the env vars for that stage (see the
@env pragma above); if not specified, defaults to
testing. This setting may introduce unexpected side effects, so only use it if you have a specific technical reason.
@sandbox env staging
useAWS - Boolean
Advanced option that uses live AWS infrastructure where deployed, specifically:
@events (EventBridge), and
@queues (SQS). Notes:
- To use this feature, your local AWS credentials file must have valid keys to use this infrastructure (or calls to AWS will fail)
- If you do not specify an environment,
stagingwill be set automatically; you can also use
@sandbox useAWS true
Execute arbitrary commands or scripts on Sandbox startup.
@sandbox startup echo 'Hi there!' npm run test node some/arbitrary/script.js