transcend-io / terraform-aws-lambda-at-edge

Terraform module for making a Lambda@Edge function in terraform
MIT License
27 stars 35 forks source link

Check or document artifact bucket must have versioning enabled to publish future versions #10

Closed jwilson8767 closed 3 years ago

jwilson8767 commented 3 years ago

Because deploying changes requires the aws_lambda_function resources s3_object_version to update, the artifact bucket should have versioning enabled, otherwise the version is always "1" and no function updates are published. Please either add a check to ensure artifacts will be versioned appropriately, or at least document this requirement.

dmattia commented 3 years ago

Added documentation for this in the top level README.md, thanks!