RJPearson94 / terraform-aws-open-next

Terraform Module for Open Next
https://registry.terraform.io/modules/RJPearson94/open-next/aws/latest
Apache License 2.0
76 stars 12 forks source link

Support for configuring layers in server function #39

Closed tom-sanderson-bt closed 1 week ago

tom-sanderson-bt commented 1 week ago

We have a requirement to configure a layer for monitoring in our deployment. From what I could see in the variables , there is no option for configuring a layer. Is this the case?

Describe the solution you'd like

Ability to configure a layer for our deployment

copy and paste an example terraform configuration here

  server_function = {
    additional_environment_variables = {
      ... my envs
    }

    layers = ["MY_LAYERS"]
  }
RJPearson94 commented 1 week ago

Hi @tom-sanderson-bt,

Thanks for using the module. Looking at the code, it appears layer support was missed. I am adding this now and will create a new version shortly.

RJPearson94 commented 1 week ago

Hi @tom-sanderson-bt,

This has been fixed as part of v3.1.0