Skip to content

Commit

Permalink
add auth url to lambda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
cornerman committed Nov 21, 2023
1 parent 4b1c616 commit 875b451
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions http.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
)
})
Expand All @@ -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
}
)
})
Expand Down
1 change: 1 addition & 0 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
)
}
Expand Down
2 changes: 2 additions & 0 deletions ws.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
)
})
Expand All @@ -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
}
)
})
Expand Down

0 comments on commit 875b451

Please sign in to comment.