Skip to content

Commit

Permalink
cognito related changes updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdevops committed Oct 17, 2024
1 parent afc9b94 commit 2104633
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions files/tenant-samples/bridge/terraform/cognito-client.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ module "cognito_ssm_parameters" {
ssm_parameters = [
{
name = "/${var.namespace}/${var.environment}/${var.tenant_tier}/cognito_id"
value = resource.aws_cognito_user_pool_client.app_client.id
value = resource.aws_cognito_user_pool_client.app_client.id[0]
type = "SecureString"
overwrite = "true"
description = "Tenant Cognito Domain ID"
},
{
name = "/${var.namespace}/${var.environment}/${var.tenant_tier}/cognito_secret"
value = resource.aws_cognito_user_pool_client.app_client.client_secret
value = resource.aws_cognito_user_pool_client.app_client.client_secret[0]
type = "SecureString"
overwrite = "true"
description = "Tenant Cognito Domain Secret"
Expand Down
4 changes: 2 additions & 2 deletions files/tenant-samples/pooled/terraform/cognito-client.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ module "cognito_ssm_parameters" {
ssm_parameters = [
{
name = "/${var.namespace}/${var.environment}/${var.tenant_tier}/cognito_id"
value = resource.aws_cognito_user_pool_client.app_client.id
value = resource.aws_cognito_user_pool_client.app_client.id[0]
type = "SecureString"
overwrite = "true"
description = "Tenant Cognito Domain ID"
},
{
name = "/${var.namespace}/${var.environment}/${var.tenant_tier}/cognito_secret"
value = resource.aws_cognito_user_pool_client.app_client.client_secret
value = resource.aws_cognito_user_pool_client.app_client.client_secret[0]
type = "SecureString"
overwrite = "true"
description = "Tenant Cognito Domain Secret"
Expand Down

0 comments on commit 2104633

Please sign in to comment.