Some modules create temporary files, they should all have a way to specify where these temporary files should be created. That way the temporary files can be saved alongside the terraform plan in cases where we need to delay applying the plan possibly making it execute in a different environment.
[x] Added archive_path variable to spa/middleware and changed the default path to {path.module}/tmp/{hash}.zip
[x] Added basic_auth_ and pull_request_router_archive_path variables to spa, uses the spa/middleware module so the default path also changed
[x] Added files_package_path variables to lambda and lambda/layer, now uses the zip module default for output_path
[x] Added package_path variables to cloudfront/lambda and its nested modules
[x] Added package_path variable to rds/postgres/management_lambda and management_lambda_package_path to rds/postgres
[x] Removed any references to deprecated files and files_dirlambda inputs
Some modules create temporary files, they should all have a way to specify where these temporary files should be created. That way the temporary files can be saved alongside the terraform plan in cases where we need to delay applying the plan possibly making it execute in a different environment.
archive_path
variable tospa/middleware
and changed the default path to{path.module}/tmp/{hash}.zip
basic_auth_
andpull_request_router_archive_path
variables tospa
, uses thespa/middleware
module so the default path also changedfiles_package_path
variables tolambda
andlambda/layer
, now uses thezip
module default foroutput_path
package_path
variables tocloudfront/lambda
and its nested modulespackage_path
variable tords/postgres/management_lambda
andmanagement_lambda_package_path
tords/postgres
files
andfiles_dir
lambda
inputs