-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
105 lines (86 loc) · 2.59 KB
/
Copy pathoutputs.tf
File metadata and controls
105 lines (86 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# ECR outputs
output "agent_ecr_repository_url" {
description = "URL of the agent ECR repository"
value = length(module.ecr) > 0 ? module.ecr[0].repository_url : null
}
output "app_ecr_repository_url" {
description = "URL of the webapp ECR repository"
value = length(module.ecr) > 1 ? module.ecr[1].repository_url : null
}
output "ecr_repository_urls" {
description = "URLs of all ECR repositories (list)"
value = [for repo in module.ecr : repo.repository_url]
}
output "ecr_repository_names" {
description = "Names of all ECR repositories (list)"
value = [for repo in module.ecr : repo.repository_name]
}
# AgentCore Memory outputs
output "agentcore_memory_id" {
description = "ID of the AgentCore Memory"
value = try(module.agentcore_memory.memory_id, null)
}
output "agentcore_memory_arn" {
description = "ARN of the AgentCore Memory"
value = try(module.agentcore_memory.memory_arn, null)
}
# AgentCore Runtime outputs
output "agentcore_runtime_id" {
description = "ID of the AgentCore Runtime"
value = try(module.agentcore_runtime.runtime_id, null)
}
output "agentcore_runtime_arn" {
description = "ARN of the AgentCore Runtime"
value = try(module.agentcore_runtime.runtime_arn, null)
}
output "agentcore_runtime_endpoint" {
description = "Endpoint of the AgentCore Runtime"
value = try(module.agentcore_runtime.runtime_endpoint, null)
}
# VPC outputs
output "vpc_id" {
description = "ID of the VPC"
value = module.vpc.vpc_id
}
output "vpc_cidr" {
description = "CIDR block of the VPC"
value = var.vpc_cidr
}
output "public_subnet_ids" {
description = "IDs of public subnets"
value = module.vpc.public_subnet_ids
}
output "private_subnet_ids" {
description = "IDs of private subnets"
value = module.vpc.private_subnet_ids
}
# ALB outputs
output "alb_dns_name" {
description = "DNS name of the ALB"
value = module.alb.alb_dns_name
}
output "alb_arn" {
description = "ARN of the ALB"
value = module.alb.alb_arn
}
output "target_group_arn" {
description = "ARN of the target group"
value = module.alb.target_group_arn
}
# ECS outputs
output "ecs_cluster_name" {
description = "Name of the ECS cluster"
value = module.ecs.cluster_name
}
output "ecs_cluster_arn" {
description = "ARN of the ECS cluster"
value = module.ecs.cluster_arn
}
output "ecs_service_name" {
description = "Name of the ECS service"
value = module.ecs.service_name
}
output "ecs_service_arn" {
description = "ARN of the ECS service"
value = module.ecs.service_arn
}