CloudFront only sees it as a custom origin when the you specify the S3 bucket website endpoint as the distribution origin. If you didn't use the S3 bucket website endpoint, then you'd need an `s3_origin_config`.
As an example, you might want to use an S3 origin to take advantage of the CloudFront origin access identity functionality for restricting access to your S3 content.
--
Hector
> On Oct 11, 2016, at 16:31, Andrew Langhorn <
lang...@thoughtworks.com> wrote:
>
> Thanks Hector; that's working now.
> If CloudFront sees any S3 bucket as a custom origin, what's the point in the S3 origin config block?
>
> To view this discussion on the web visit
https://groups.google.com/d/msgid/terraform-tool/CAEpa1D%2BHEgx2%2BSH0%3DrF1uOBS-1nv0f-n7fcy2x3kHu0gu0HgZQ%40mail.gmail.com.