Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resolverTemplate to allow for simple resolution without a custom function #76

Closed
2 tasks
mbklein opened this issue Jul 15, 2022 · 1 comment
Closed
2 tasks
Labels
enhancement New feature or request

Comments

@mbklein
Copy link
Member

mbklein commented Jul 15, 2022

Description

Right now, there are two image resolver options: id + '.tif' and the CloudFront preflight function. To add some flexibility, we should accept an optional printf-style template that the ID gets applied to. (e.g., '%s.tif', /path/to/images/%s.pyramid.tif).

Done Looks Like

  • Built-in resolver accepts a resolverTemplate environment variable
  • SAM templates updated to include resolverTemplate variable
@mbklein
Copy link
Member Author

mbklein commented Jul 18, 2022

Resolved by #78

@mbklein mbklein closed this as completed Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant