Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- Input to configure stac-server with ENABLE_INGEST_ACTION_TRUNCATE

### Changed

### Fixed

- The variable `enable_collections_authx` defaulted to true, should have defaulted to false.

### Removed

## [2.42.0] - 2025-04-08

### Added

- Added inputs to configure stac_id, stac_title, stac_description, and enable_collections_authx
- Added inputs to configure stac-server with stac_id, stac_title, stac_description, and enable_collections_authx

## [2.41.0] - 2025-03-27

Expand Down
1 change: 1 addition & 0 deletions ci.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ stac_server_inputs = {
domain_alias = ""
enable_transactions_extension = false
enable_collections_authx = false
enable_ingest_action_truncate = false
collection_to_index_mappings = ""
opensearch_version = "OpenSearch_2.17"
opensearch_cluster_instance_type = "t3.small.search"
Expand Down
1 change: 1 addition & 0 deletions default.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ stac_server_inputs = {
domain_alias = ""
enable_transactions_extension = false
enable_collections_authx = false
enable_ingest_action_truncate = false
collection_to_index_mappings = ""
opensearch_version = "OpenSearch_2.17"
opensearch_cluster_instance_type = "t3.small.search"
Expand Down
2 changes: 2 additions & 0 deletions inputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ variable "stac_server_inputs" {
domain_alias = string
enable_transactions_extension = bool
enable_collections_authx = bool
enable_ingest_action_truncate = bool
collection_to_index_mappings = string
opensearch_version = optional(string)
opensearch_cluster_instance_type = string
Expand Down Expand Up @@ -161,6 +162,7 @@ variable "stac_server_inputs" {
domain_alias = ""
enable_transactions_extension = false
enable_collections_authx = false
enable_ingest_action_truncate = false
collection_to_index_mappings = ""
opensearch_version = "OpenSearch_2.17"
opensearch_cluster_instance_type = "t3.small.search"
Expand Down
1 change: 1 addition & 0 deletions modules/stac-server/api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ resource "aws_lambda_function" "stac_server_api" {
)
ENABLE_TRANSACTIONS_EXTENSION = var.enable_transactions_extension
ENABLE_COLLECTIONS_AUTHX = var.enable_collections_authx
ENABLE_INGEST_ACTION_TRUNCATE = var.enable_ingest_action_truncate
STAC_API_ROOTPATH = (
var.stac_api_rootpath != null
? var.stac_api_rootpath
Expand Down
8 changes: 7 additions & 1 deletion modules/stac-server/inputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,13 @@ variable "enable_transactions_extension" {
variable "enable_collections_authx" {
description = "Enable Collections Authx"
type = string
default = true
default = false
}

variable "enable_ingest_action_truncate" {
description = "Enable Ingest Action Truncate"
type = string
default = false
}

variable "stac_api_stage" {
Expand Down
2 changes: 2 additions & 0 deletions profiles/core/inputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ variable "stac_server_inputs" {
domain_alias = string
enable_transactions_extension = bool
enable_collections_authx = bool
enable_ingest_action_truncate = bool
collection_to_index_mappings = string
opensearch_version = optional(string)
opensearch_cluster_instance_type = string
Expand Down Expand Up @@ -161,6 +162,7 @@ variable "stac_server_inputs" {
domain_alias = ""
enable_transactions_extension = false
enable_collections_authx = false
enable_ingest_action_truncate = false
collection_to_index_mappings = ""
opensearch_version = "OpenSearch_2.17"
opensearch_cluster_instance_type = "t3.small.search"
Expand Down
2 changes: 2 additions & 0 deletions profiles/stac-server/inputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ variable "stac_server_inputs" {
domain_alias = string
enable_transactions_extension = bool
enable_collections_authx = bool
enable_ingest_action_truncate = bool
collection_to_index_mappings = string
opensearch_version = optional(string)
opensearch_cluster_instance_type = string
Expand Down Expand Up @@ -124,6 +125,7 @@ variable "stac_server_inputs" {
domain_alias = ""
enable_transactions_extension = false
enable_collections_authx = false
enable_ingest_action_truncate = false
collection_to_index_mappings = ""
opensearch_version = "OpenSearch_2.17"
opensearch_cluster_instance_type = "t3.small.search"
Expand Down
1 change: 1 addition & 0 deletions profiles/stac-server/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module "stac-server" {
stac_description = var.stac_server_inputs.stac_description
enable_transactions_extension = var.stac_server_inputs.enable_transactions_extension
enable_collections_authx = var.stac_server_inputs.enable_collections_authx
enable_ingest_action_truncate = var.stac_server_inputs.enable_ingest_action_truncate
collection_to_index_mappings = var.stac_server_inputs.collection_to_index_mappings
opensearch_version = var.stac_server_inputs.opensearch_version
opensearch_cluster_instance_type = var.stac_server_inputs.opensearch_cluster_instance_type
Expand Down
Loading