Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketnova committed Aug 7, 2024
1 parent 1bcdbfc commit bb6cd77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/app/service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ module "service" {
module.app_config.enable_identity_provider ?
local.is_temporary ?
[{
name = "COGNITO_CLIENT_SECRET"
name = "COGNITO_CLIENT_SECRET"
valueFrom = data.aws_ssm_parameter.existing_user_pool_client_secret[0].arn
}] :
[{
Expand Down Expand Up @@ -281,7 +281,7 @@ data "aws_cognito_user_pool_clients" "existing_user_pool_clients" {
}

data "aws_ssm_parameter" "existing_user_pool_client_secret" {
count = module.app_config.enable_identity_provider && local.is_temporary ? 1 : 0
count = module.app_config.enable_identity_provider && local.is_temporary ? 1 : 0
name = "/${local.identity_provider_config.identity_provider_name}/identity-provider/client-secret"
}

Expand Down

0 comments on commit bb6cd77

Please sign in to comment.