diff --git a/http.tf b/http.tf index f4d2a5c..884e70d 100644 --- a/http.tf +++ b/http.tf @@ -19,6 +19,7 @@ module "http" { }, length(module.auth) == 0 ? {} : { FUN_AUTH_COGNITO_USER_POOL_ID = module.auth[0].user_pool.id + FUN_AUTH_URL = module.auth[0].url } ) }) @@ -31,6 +32,7 @@ module "http" { }, length(module.auth) == 0 ? {} : { FUN_AUTH_COGNITO_USER_POOL_ID = module.auth[0].user_pool.id + FUN_AUTH_URL = module.auth[0].url } ) }) diff --git a/output.tf b/output.tf index 6eb57bf..9ef8546 100644 --- a/output.tf +++ b/output.tf @@ -65,6 +65,7 @@ output "backend_environment_vars" { }, length(module.auth) == 0 ? {} : { FUN_AUTH_COGNITO_USER_POOL_ID = module.auth[0].user_pool.id + FUN_AUTH_URL = module.auth[0].url } ) } diff --git a/ws.tf b/ws.tf index 979c4fe..242142f 100644 --- a/ws.tf +++ b/ws.tf @@ -15,6 +15,7 @@ module "ws" { var.ws.rpc.environment == null ? {} : var.ws.rpc.environment, length(module.auth) == 0 ? {} : { FUN_AUTH_COGNITO_USER_POOL_ID = module.auth[0].user_pool.id + FUN_AUTH_URL = module.auth[0].url } ) }) @@ -24,6 +25,7 @@ module "ws" { var.ws.event_authorizer.environment == null ? {} : var.ws.event_authorizer.environment, length(module.auth) == 0 ? {} : { FUN_AUTH_COGNITO_USER_POOL_ID = module.auth[0].user_pool.id + FUN_AUTH_URL = module.auth[0].url } ) })