|
# Outputs for AWS deployment |
|
output "cluster_endpoint" { |
|
description = "Endpoint for EKS control plane" |
|
value = module.eks.cluster_endpoint |
|
} |
|
|
|
output "cluster_security_group_id" { |
|
description = "Security group ID attached to the EKS cluster" |
|
value = module.eks.cluster_security_group_id |
|
} |
|
|
|
output "cluster_iam_role_name" { |
|
description = "IAM role name associated with EKS cluster" |
|
value = module.eks.cluster_iam_role_name |
|
} |
|
|
|
output "cluster_certificate_authority_data" { |
|
description = "Base64 encoded certificate data required to communicate with the cluster" |
|
value = module.eks.cluster_certificate_authority_data |
|
} |
|
|
|
output "cluster_primary_security_group_id" { |
|
description = "The cluster primary security group ID created by the EKS cluster" |
|
value = module.eks.cluster_primary_security_group_id |
|
} |
|
|
|
output "eks_managed_node_groups" { |
|
description = "Map of attribute maps for all EKS managed node groups created" |
|
value = module.eks.eks_managed_node_groups |
|
} |
|
|
|
output "ecr_repository_url" { |
|
description = "URL of the ECR repository" |
|
value = aws_ecr_repository.cyber_llm.repository_url |
|
} |
|
|
|
output "s3_bucket_name" { |
|
description = "Name of the S3 bucket for model artifacts" |
|
value = aws_s3_bucket.model_artifacts.bucket |
|
} |
|
|
|
output "rds_endpoint" { |
|
description = "RDS instance endpoint" |
|
value = aws_db_instance.cyber_llm.endpoint |
|
sensitive = true |
|
} |
|
|
|
output "rds_port" { |
|
description = "RDS instance port" |
|
value = aws_db_instance.cyber_llm.port |
|
} |
|
|
|
output "redis_endpoint" { |
|
description = "Redis cluster endpoint" |
|
value = aws_elasticache_replication_group.cyber_llm.primary_endpoint_address |
|
sensitive = true |
|
} |
|
|
|
output "vpc_id" { |
|
description = "ID of the VPC where resources are created" |
|
value = module.vpc.vpc_id |
|
} |
|
|
|
output "vpc_private_subnets" { |
|
description = "List of IDs of private subnets" |
|
value = module.vpc.private_subnets |
|
} |
|
|
|
output "vpc_public_subnets" { |
|
description = "List of IDs of public subnets" |
|
value = module.vpc.public_subnets |
|
} |
|
|