All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Correctly point API Gateway to the published lambda version so that features like provisioned concurrency work as expected, and trigger deployment of the gateway when any changes to dependencies occur
-
Lambda runtimes for the
user_initandhistorical_ingestupdated from python v3.9, which is beyond deprecation, to v3.10 -
Enable OpenSearch logs via an optional input
- Add capability to optionally use provisioned concurrency for the api lambda to avoid cold start issues. Quantity can be set as input variable 48
AWS Provider Upgrade v5 -> v6
The Terraform AWS provider was updated from v5 to v6. A few deprecations in the aws_api_gateway_deployment resource necessitates the following (see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/guides/version-6-upgrade#resource-aws_api_gateway_deployment). After pulling v2.x of this module:
-
Update your
hashicorp/awsprovider to version constraint to "~> 6.0" -
terraform init -upgrade -
Run the following, replacing
<module_name>and<rest_api_id>:terraform import module.<module_name>.aws_api_gateway_stage.stac_server_api_gateway_stage <rest_api_id>/gh-
<module_name>is the name you've given this module in your root module; if you're not calling this module from another module, removemodule.<module_name>.<rest_api_id>is thestac_server_api_gateway_idin outputs.tf -
You'll see an "Import Successful" notification if your import works as expected
-
-
terraform apply
Notes
- Terraform will note that a null_resource.enable_access_logs is being destroyed. This is expected. Previously, access logs were enabled via this null resource; with v2 of this module, they are enabled via the aws_api_gateway_stage resource.
Updated the stac-server version this module packages v3.10.0 -> v4.5.0
-
The minimum version of OpenSearch that stac-server v4.5.0 expects is 2.19 (v3.10.0 expected 2.17). Accordingly, projects should update
opensearch_versiontoOpenSearch_2.19at a minimum. -
Lambda runtimes should be bumped nodejs20 -> nodejs22
- A new custom_vpce_id var added. If provided, the user is indicating that they have an existing vpc endpoint that the titiler api gateway (and supporting resources) should allow to ingress
-
override_main_response_version input var added. Note that this does not actually change your OpenSearch cluster settings, see inputs.tf for details
-
Four unused env vars were removed from the ingest lambda:
CORS_CREDENTIALS,CORS_HEADERS,CORS_METHODS,CORS_ORIGIN
- Numerous readme and cicd chores
- Finish release-tests cicd
-
Added support for custom environment variables in STAC Server Lambda functions (
api_lambda,ingest_lambda,pre_hook_lambda). Users can now pass custom environment variables via the optionalenvironment_variablesparameter, enabling support for STAC Server v4.4.0+ features likeENABLE_CONTEXT_EXTENSIONandENABLE_THUMBNAILS. This enhancement is fully backward compatible. -
Improved update-lambdas to ensure zips get built
- Moved modules to a /modules folder
-
Support inputs.stac_server_version usage
-
CICD setup
-
v3.10.0 of stac-server
-
Initial version of this standalone stac-server infrastructure module