Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra Output Blocks #80

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions infrastructure/blocks/app-cluster/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ output "ecs_task_execution_role_arn" {
description = "The ECS task execution role ARN"
}

output "ecs_task_execution_role_name" {
value = module.app_cluster.ecs_task_execution_role_name
description = "The ECS task execution role name"
}

output "log_error_alarm_notification_arn" {
value = module.app_cluster.log_error_alarm_notification_arn
description = "The arn of the sns topic that receives notifications on log error alerts"
Expand All @@ -47,3 +52,8 @@ output "service_table_arn" {
value = module.app_cluster.service_table_arn
description = "The arn of the dynamoDB table that stores the user service"
}

output "aws_dynamodb_table_service_table_name" {
value = module.app_cluster.aws_dynamodb_table_service_table_name
description = "Name of the DynammoDB table that contains schema data"
}
12 changes: 11 additions & 1 deletion infrastructure/blocks/auth/output.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
output "user_pool_endpoint" {
value = module.auth.user_pool_endpoint
description = "The Cognito rapid user pool arn"
description = "The Cognito rapid user pool endpoint"
}

output "resource_server_scopes" {
Expand All @@ -18,6 +18,16 @@ output "cognito_user_pool_id" {
description = "The Cognito rapid user pool id"
}

output "cognito_user_pool_arn" {
value = module.auth.cognito_user_pool_arn
description = "The Cognito rapid user pool arn"
}

output "cognito_user_pool_domain" {
value = module.auth.cognito_user_pool_domain
description = "The Cognito rapid user pool domain"
}

output "cognito_client_app_secret_manager_name" {
value = module.auth.cognito_client_app_secret_manager_name
description = "Secret manager name where client app info is stored"
Expand Down
10 changes: 10 additions & 0 deletions infrastructure/modules/app-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ output "ecs_task_execution_role_arn" {
description = "The ECS task execution role ARN"
}

output "ecs_task_execution_role_name" {
value = aws_iam_role.ecsTaskExecutionRole.name
description = "The ECS task execution role name"
}

output "load_balancer_dns" {
value = aws_alb.application_load_balancer.dns_name
description = "The DNS name of the load balancer"
Expand Down Expand Up @@ -50,3 +55,8 @@ output "service_table_arn" {
output "application_version" {
value = var.application_version
}

output "aws_dynamodb_table_service_table_name" {
value = aws_dynamodb_table.service_table.name
description = "Name of the DynammoDB table that contains schema data"
}
10 changes: 10 additions & 0 deletions infrastructure/modules/auth/output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ output "cognito_user_pool_id" {
description = "The Cognito rapid user pool id"
}

output "cognito_user_pool_arn" {
value = aws_cognito_user_pool.rapid_user_pool.arn
description = "The Cognito rapid user pool arn"
}

output "cognito_user_pool_domain" {
value = aws_cognito_user_pool.rapid_user_pool.domain
description = "The Cognito rapid user pool domain"
}

output "cognito_client_app_secret_manager_name" {
value = aws_secretsmanager_secret.client_secrets_cognito.name
description = "Secret manager name where client app info is stored"
Expand Down
Loading