Skip to content

Commit

Permalink
Terraform fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmiller609 committed Jun 24, 2020
1 parent 8a85e81 commit 18fa03b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "kubernetes_secret" "astronomer_bootstrap" {
}

resource "kubernetes_secret" "astronomer_tls" {
count = var.tls_cert != "" && var.tls_key != "" ? 1 : 0
count = var.tls_cert != "" && var.tls_key != "" ? 1 : 0
depends_on = [null_resource.dependency_getter]

metadata {
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ variable "db_connection_string" {
}

variable "tls_cert" {
default = ""
default = ""
type = string
description = "The signed certificate for the Astronomer Load Balancer. It should be signed by a certificate authorize and should have common name *.base_domain"
}

variable "tls_key" {
default = ""
default = ""
type = string
description = "The private key corresponding to the signed certificate tls_cert."
}
Expand Down

0 comments on commit 18fa03b

Please sign in to comment.