Browse Source

Merge pull request #175 from mdr-engineering/feature/bp_MSOCI-1448_portal_gc

Fixes okta auth for Vault
Brad Poulton 4 years ago
parent
commit
cdd64f7323
1 changed files with 8 additions and 0 deletions
  1. 8 0
      base/vault-configuration/vars.tf

+ 8 - 0
base/vault-configuration/vars.tf

@@ -27,11 +27,19 @@ variable "okta_oidc_client_id" {
 variable "okta_oidc_client_secret" {
   type        = string
   description = "Okta Vault OIDC app client secret"
+  validation {
+    condition = var.okta_oidc_client_secret != "<place secret here>"
+    error_message = "Please update the okta_oidc_client_secret in terragrunt.hcl!"
+  }
 }
 
 variable "okta_api_token" {
   type        = string
   description = "Okta Vault api secret"
+  validation {
+    condition = var.okta_api_token != "<place secret here>"
+    error_message = "Please update the okta_api_token in terragrunt.hcl!"
+  }
 }
 
 variable "dns_info" { type = map }