################################################################################ # VPC ################################################################################ output "vpc_id" { description = "The ID of the VPC" value = module.vpc.vpc_id } output "public_subnets" { description = "A list of public subnets" value = module.vpc.public_subnets } output "private_subnets" { description = "A list of private subnets for the client app" value = module.vpc.private_subnets } output "private_subnets_cidr_blocks" { description = "A list of private subnets CIDRs" value = module.vpc.private_subnets_cidr_blocks } ################################################################################ # Cluster ################################################################################ output "cluster_arn" { description = "ARN that identifies the cluster" value = module.ecs_cluster.arn } output "cluster_id" { description = "ID that identifies the cluster" value = module.ecs_cluster.id } output "cluster_name" { description = "Name that identifies the cluster" value = module.ecs_cluster.name } output "cluster_capacity_providers" { description = "Map of cluster capacity providers attributes" value = module.ecs_cluster.cluster_capacity_providers } output "cluster_autoscaling_capacity_providers" { description = "Map of capacity providers created and their attributes" value = module.ecs_cluster.autoscaling_capacity_providers } output "ecs_task_execution_role_name" { description = "The ARN of the task execution role" value = module.ecs_cluster.task_exec_iam_role_name } output "ecs_task_execution_role_arn" { description = "The ARN of the task execution role" value = module.ecs_cluster.task_exec_iam_role_arn } output "service_discovery_namespaces" { description = "Service discovery namespaces already available" value = aws_service_discovery_private_dns_namespace.this }