Skip to content

Commit

Permalink
Merge commit 'd66b2ae84f7ea53f87da55a160ce8a52807325f3' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 11, 2022
2 parents 7ef3167 + d66b2ae commit cac58c0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

## [0.12.1] - 2022-04-11

- Pass image settings to the optimization module ([#297](https://github.com/milliHQ/terraform-aws-next-js/issues/297), [#299](https://github.com/milliHQ/terraform-aws-next-js/pull/299))

## [0.12.0] - 2022-04-07

- Ensure compatibility with AWS Provider Version 4 ([#286](https://github.com/milliHQ/terraform-aws-next-js/issues/286), [#291](https://github.com/milliHQ/terraform-aws-next-js/pull/291))
Expand Down
9 changes: 6 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,12 @@ module "next_image" {
# device) sizes to the optimizer and by setting the other
# (next_image_device_sizes) to an empty array which prevents the optimizer
# from adding the default device settings
next_image_domains = lookup(local.config_file_images, "domains", [])
next_image_image_sizes = lookup(local.config_file_images, "sizes", [])
next_image_device_sizes = []
next_image_domains = lookup(local.config_file_images, "domains", [])
next_image_image_sizes = lookup(local.config_file_images, "sizes", [])
next_image_device_sizes = []
next_image_formats = lookup(local.config_file_images, "formats", null)
next_image_dangerously_allow_SVG = lookup(local.config_file_images, "dangerouslyAllowSVG", false)
next_image_content_security_policy = lookup(local.config_file_images, "contentSecurityPolicy", null)

source_bucket_id = module.statics_deploy.static_bucket_id

Expand Down
2 changes: 1 addition & 1 deletion modules/proxy/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

variable "proxy_module_version" {
type = string
default = "0.12.0"
default = "0.12.1"
}

variable "lambda_default_runtime" {
Expand Down
2 changes: 1 addition & 1 deletion modules/statics-deploy/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ variable "static_files_archive" {

variable "deploy_trigger_module_version" {
type = string
default = "0.12.0"
default = "0.12.1"
}

variable "expire_static_assets" {
Expand Down

0 comments on commit cac58c0

Please sign in to comment.