Skip to content

Commit 9108676

Browse files
authored
Fix locals in elasticsearch (#32)
1 parent d643900 commit 9108676

File tree

4 files changed

+68
-68
lines changed

4 files changed

+68
-68
lines changed

.github/workflows/documentation.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ jobs:
3434
output-file: README.md
3535
fail-fast: true
3636
steps:
37-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
3838
with:
3939
submodules: true
40-
ref: ${{ github.event.pull_request.head.ref }}
4140
- name: Render and check docs is updated
4241
uses: ./.github/actions/terraform-docs
4342
with:

aws/.terraform.lock.hcl

Lines changed: 56 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aws/configurations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ No requirements.
77

88
| Name | Version |
99
|------|---------|
10-
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.10.0 |
11-
| <a name="provider_local"></a> [local](#provider\_local) | 2.4.0 |
12-
| <a name="provider_random"></a> [random](#provider\_random) | 3.5.1 |
10+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.39.1 |
11+
| <a name="provider_local"></a> [local](#provider\_local) | 2.4.1 |
12+
| <a name="provider_random"></a> [random](#provider\_random) | 3.6.0 |
1313

1414
## Modules
1515

aws/elasticsearch-main.tf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
# under the License.
1717

1818
locals {
19-
elasticsearch_domain_name = coalesce(lookup(local.storage_config, "domain_name"), var.cluster_name)
20-
elasticsearch_version = coalesce(lookup(local.storage_config, "version"), "7.10")
21-
elasticsearch_instance_type = coalesce(lookup(local.storage_config, "instance_type"), "m3.medium.elasticsearch")
22-
elasticsearch_instance_count = coalesce(lookup(local.storage_config, "instance_count"), 2)
23-
elasticsearch_additional_security_groups = coalesce(lookup(local.storage_config, "additional_security_groups"), [])
24-
elasticsearch_zone_awareness_enabled = coalesce(lookup(local.storage_config, "zone_awareness_enabled"), false)
25-
elasticsearch_availability_zone_count = coalesce(lookup(local.storage_config, "availability_zone_count"), 2)
26-
elasticsearch_ebs_enabled = coalesce(lookup(local.storage_config, "ebs_enabled"), false)
19+
elasticsearch_domain_name = coalesce(lookup(local.storage_config, "domain_name", var.cluster_name))
20+
elasticsearch_version = coalesce(lookup(local.storage_config, "version", "7.10"))
21+
elasticsearch_instance_type = coalesce(lookup(local.storage_config, "instance_type","m3.medium.elasticsearch"))
22+
elasticsearch_instance_count = coalesce(lookup(local.storage_config, "instance_count", 2))
23+
elasticsearch_additional_security_groups = coalesce(lookup(local.storage_config, "additional_security_groups", []))
24+
elasticsearch_zone_awareness_enabled = coalesce(lookup(local.storage_config, "zone_awareness_enabled", false))
25+
elasticsearch_availability_zone_count = coalesce(lookup(local.storage_config, "availability_zone_count",2))
26+
elasticsearch_ebs_enabled = coalesce(lookup(local.storage_config, "ebs_enabled",false))
2727
}
2828

2929
data "aws_caller_identity" "current" {}

0 commit comments

Comments
 (0)