-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename create_user_pool var to enabled
- Loading branch information
Showing
8 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,68 @@ | ||
output "id" { | ||
description = "The id of the user pool" | ||
value = var.create_user_pool ? aws_cognito_user_pool.pool[0].id : null | ||
value = var.enabled ? aws_cognito_user_pool.pool[0].id : null | ||
} | ||
|
||
output "arn" { | ||
description = "The ARN of the user pool" | ||
value = var.create_user_pool ? aws_cognito_user_pool.pool[0].arn : null | ||
value = var.enabled ? aws_cognito_user_pool.pool[0].arn : null | ||
} | ||
|
||
output "endpoint" { | ||
description = "The endpoint name of the user pool. Example format: cognito-idp.REGION.amazonaws.com/xxxx_yyyyy" | ||
value = var.create_user_pool ? aws_cognito_user_pool.pool[0].endpoint : null | ||
value = var.enabled ? aws_cognito_user_pool.pool[0].endpoint : null | ||
} | ||
|
||
output "creation_date" { | ||
description = "The date the user pool was created" | ||
value = var.create_user_pool ? aws_cognito_user_pool.pool[0].creation_date : null | ||
value = var.enabled ? aws_cognito_user_pool.pool[0].creation_date : null | ||
} | ||
|
||
output "last_modified_date" { | ||
description = "The date the user pool was last modified" | ||
value = var.create_user_pool ? aws_cognito_user_pool.pool[0].last_modified_date : null | ||
value = var.enabled ? aws_cognito_user_pool.pool[0].last_modified_date : null | ||
} | ||
|
||
# | ||
# aws_cognito_user_pool_domain | ||
# | ||
output "domain_aws_account_id" { | ||
description = "The AWS account ID for the user pool owner" | ||
value = var.create_user_pool ? join("", aws_cognito_user_pool_domain.domain.*.aws_account_id) : null | ||
value = var.enabled ? join("", aws_cognito_user_pool_domain.domain.*.aws_account_id) : null | ||
} | ||
|
||
output "domain_cloudfront_distribution_arn" { | ||
description = "The ARN of the CloudFront distribution" | ||
value = var.create_user_pool ? join("", aws_cognito_user_pool_domain.domain.*.cloudfront_distribution_arn) : null | ||
value = var.enabled ? join("", aws_cognito_user_pool_domain.domain.*.cloudfront_distribution_arn) : null | ||
} | ||
|
||
output "domain_s3_bucket" { | ||
description = "The S3 bucket where the static files for this domain are stored" | ||
value = var.create_user_pool ? join("", aws_cognito_user_pool_domain.domain.*.s3_bucket) : null | ||
value = var.enabled ? join("", aws_cognito_user_pool_domain.domain.*.s3_bucket) : null | ||
} | ||
|
||
output "domain_app_version" { | ||
description = "The app version" | ||
value = var.create_user_pool ? join("", aws_cognito_user_pool_domain.domain.*.version) : null | ||
value = var.enabled ? join("", aws_cognito_user_pool_domain.domain.*.version) : null | ||
} | ||
|
||
# | ||
# aws_cognito_user_pool_client | ||
# | ||
output "client_ids" { | ||
description = "The ids of the user pool clients" | ||
value = var.create_user_pool ? aws_cognito_user_pool_client.client.*.id : null | ||
value = var.enabled ? aws_cognito_user_pool_client.client.*.id : null | ||
} | ||
|
||
output "client_secrets" { | ||
description = " The client secrets of the user pool clients" | ||
value = var.create_user_pool ? aws_cognito_user_pool_client.client.*.client_secret : null | ||
value = var.enabled ? aws_cognito_user_pool_client.client.*.client_secret : null | ||
} | ||
|
||
# | ||
# aws_cognito_resource_servers | ||
# | ||
output "resource_servers_scope_identifiers" { | ||
description = " A list of all scopes configured in the format identifier/scope_name" | ||
value = var.create_user_pool ? aws_cognito_resource_server.resource.*.scope_identifiers : null | ||
value = var.enabled ? aws_cognito_resource_server.resource.*.scope_identifiers : null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters