Skip to content

v1.3.0

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 23 Oct 17:48
· 1 commit to main since this release
fix: conditionally set service domain outputs when disabled @RoseSecurity (#216) ## what
  • Previously, service domain output locals were always set, even when the module was disabled. This caused issues with downstream references. Now, these locals are set to null when the module is not enabled, preventing unintended values and improving conditional logic handling.

why

  • Resolve the following error:

│ Error: Error in function call

│   on .terraform/infra/modules/elasticsearch/main.tf line 11, in locals:
│   11:   aws_service_domain_kibana_endpoint = coalesce(join("", aws_elasticsearch_domain.default[*].kibana_endpoint), join("", aws_opensearch_domain.default[*].dashboard_endpoint))
│     ├────────────────
│     │ while calling coalesce(vals...)
│     │ aws_elasticsearch_domain.default is empty tuple
│     │ aws_opensearch_domain.default is empty tuple

│ Call to function "coalesce" failed: no non-null, non-empty-string arguments.
Add throughput to ebs_options for OpenSearch @eddieb96 (#214) ## what
  • Fix ebs_throughput in aws_opensearch_domain by adding throughput to ebs_options

why

  • Fix for #208
  • Makes it possible to configure ebs_throughput on an OpenSearch domain

references