Skip to content

Conversation

@KingBrewer
Copy link
Contributor

Apparently CloudFront PR #388 broke default_config function.
Fixes: #398

Filter is required, because cloudfront endpoint is agnostic to region (http://docs.aws.amazon.com/general/latest/gr/rande.html#cf_region).

@nalundgaard
Copy link
Contributor

@KingBrewer This looks like it would work, but it doesn't seem to conform with the method used to process other region-agnostic services, like IAM, etc.

I'd prefer to see a cloudfront clause in erlcloud_aws:service_config/3 like this, personally. @motobob what do you think?

@KingBrewer
Copy link
Contributor Author

@nalundgaard I completely agree with you. To be fair I wasn't completely aware of this "method". I was just following the crash stacktrace and found this filter.

@KingBrewer KingBrewer force-pushed the cloudfront-config-fix branch from c59f585 to 0d09303 Compare March 17, 2017 14:23
@KingBrewer
Copy link
Contributor Author

Voila

@nalundgaard nalundgaard merged commit f2fef6e into erlcloud:master Mar 17, 2017
@nalundgaard
Copy link
Contributor

👍 Thanks for your quick fix @KingBrewer!

@KingBrewer KingBrewer deleted the cloudfront-config-fix branch March 17, 2017 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants