apex / up-examples

Example apps, apis, and sites for Up.
389 stars 42 forks source link

Region globbing example #18

Open lukeed opened 7 years ago

lukeed commented 7 years ago

Took a second look at the pro examples & am left with two thoughts:

1) If unspecified, how do I know which region my function is deployed to?

2) If I want to deploy to all regions, would it make sense to pass * as its value?

tj commented 7 years ago

I'll have to doc that stuff, but it'll default to AWS_REGION and fall back on "us-west-2" if you have nothing at all.

Took me a while to find my own issue hahah but regarding *: https://github.com/apex/up/issues/87

lukeed commented 7 years ago

Ah ok. I knew there'd be an AWS default, but I didn't know if it was account-specific or a global default. A simple pointer in the Up docs would be perfecto 👌

Missed that issue, thanks!

I'd close this, but seems like you're using for tracking. 😆