architect/functions

Arc 5 users unable to use proxy without setting env var

ryanblock opened this issue · 1 comments

Describe the issue
In this commit we removed the proxy config in favor of setting an environment variable (ARC_STATIC_BUCKET), which Architect 6 does automatically.

This breaks Architect 5 users, and provides not an automatic means of setting the bucket without manually defining that env var.

Steps to reproduce
Steps to reproduce the behavior:

  1. Use arc/fns 3.2.2 or later + Architect 5
  2. Run proxy without ARC_STATIC_BUCKET env var set
  3. A bucket config error will be returned

Expected behavior
Previously documented and released config params should be respected.

We can also read the Architect project manifest and automatically populate ARC_STATIC_BUCKET, but the user may want to specify a different bucket. (Unlikely, but possible.)

Fixed in 3.3.14