Skip to content

Connect optimizer to images from an existing S3 bucket #172

Open
@trebeljahr

Description

@trebeljahr

Hi there,
first of thank you so so much for building this awesome terraform script. I've been running over the vercel image usage limit and this is a lifesaver. I am somewhat new to Terraform and all the AWS resources, so maybe it is just me being stupid but when trying to set the configuration for source_bucket_id it doesn't work.

Instead, I somehow have to put a separate CloudFront before my bucket and provide the URL to the CloudFront instead of that for the bucket, so that the optimizer can correctly connect with the images and optimize them... This feels clunky because I now have 2 CloudFront => 1 for the bucket and 1 for the lambda.

The flow is like this:
client => cloudfront => lambda => cloudfront 2 => bucket

In my opinion, I should just be able to provide the
source_bucket_id = "my::custom-bucket::arn"
and then I would expect it to configure the lambda optimizer to automatically connect to it, just as shown in the diagram in the Readme... but it doesn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy