Skip to content

Commit

Permalink
Linted and fixed TF for test
Browse files Browse the repository at this point in the history
Signed-off-by: jayonthenet <[email protected]>
  • Loading branch information
jayonthenet committed Aug 20, 2024
1 parent 46f0633 commit a494802
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions setup/terraform/idp-base.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resource "humanitec_environment" "demo" {
name = "5min IDP local environment"
type = local.env_type

depends_on = [ humanitec_environment_type.local ]
depends_on = [ humanitec_environment_type.local, humanitec_application.demo ]
}

# Backstage application & config
Expand All @@ -43,7 +43,7 @@ resource "humanitec_environment" "backstage" {
name = "5min IDP local environment"
type = local.env_type

depends_on = [ humanitec_environment_type.local ]
depends_on = [ humanitec_environment_type.local, humanitec_application.backstage ]
}

# Configure k8s namespace naming
Expand Down
2 changes: 1 addition & 1 deletion setup/terraform/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ terraform {
}
humanitec = {
source = "humanitec/humanitec"
version = "~> 1.6"
version = "~> 1.6.5"
}
random = {
source = "hashicorp/random"
Expand Down
10 changes: 5 additions & 5 deletions setup/terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ variable "kubeconfig" {
default = "/state/kube/config-internal.yaml"
}

variable "tls_ca_cert" {
description = "Path to CA certificate that needs to be trusted"
type = string
default = ""
}
# variable "tls_ca_cert" {
# description = "Path to CA certificate that needs to be trusted"
# type = string
# default = ""
# }

variable "tls_cert_string" {
description = "Cert as string for TLS setup"
Expand Down

0 comments on commit a494802

Please sign in to comment.