Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
feat: add elasticsearch to shared svc app stack (#626)
Browse files Browse the repository at this point in the history
* feat: add elasticsearch to shared svc app stack

* fix: update tls provider ~> 4.0.0

* style: terraform fmt

* ci: pin tflint version 0.39.3

* fix: update tf dependency lock for lead apps stage

* docs: add inline comments
  • Loading branch information
Chris Schreiber authored Sep 16, 2022
1 parent 34a6ecf commit b2c653f
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 101 deletions.
1 change: 1 addition & 0 deletions .github/workflows/terraform-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
fail_on_error: "true"
filter_mode: "nofilter"
reporter: github-pr-review
tflint_version: v0.39.3

terraform_format:
name: Format
Expand Down
1 change: 0 additions & 1 deletion modules/common/ca-issuer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ resource "tls_private_key" "ca" {

resource "tls_self_signed_cert" "ca" {
count = var.enabled ? 1 : 0
key_algorithm = tls_private_key.ca[count.index].algorithm
private_key_pem = tls_private_key.ca[count.index].private_key_pem

is_ca_certificate = true
Expand Down
7 changes: 7 additions & 0 deletions modules/common/ca-issuer/versions.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

terraform {
required_version = ">= 0.12"

required_providers {
tls = {
source = "hashicorp/tls"
version = "~>4.0.0"
}
}
}
184 changes: 106 additions & 78 deletions stages/apps/lead/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b2c653f

Please sign in to comment.