-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
65 lines (51 loc) · 1.47 KB
/
outputs.tf
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
output "avz" {
value = data.aws_availability_zones.available.names
}
output "avz_ids" {
value = data.aws_availability_zones.available.zone_ids
}
output "vpc_id" {
value = module.vpc.vpc_id
}
output "public_subnet_ids" {
value = module.vpc.public_subnet_ids
}
output "private_subnet_ids" {
value = module.vpc.private_subnet_ids
}
output "nat_eip" {
value = module.vpc.nat_eip
}
output "rds_endpoint" {
description = "Endpoint of the RDS instance"
value = module.rds_postgres.rds_endpoint
}
# output "server1_ip" {
# value = module.server1.elastic_ip
# }
output "ecr_url" {
description = "The URL of the repository (in the form aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName)"
value = data.terraform_remote_state.shared.outputs.ecr_url
}
output "alb_dns" {
description = "The DNS name of the load balancer"
value = module.load_balancer.lb_dns
}
output "amplify_default_domain" {
description = "Default domain for the Amplify app"
value = module.amplify.frontend_default_domain
}
output "amplify_verification_dns_record" {
description = "The DNS record for certificate verification"
value = module.amplify.frontend_certificate_verification_dns_record
}
output "amplify_cloud_front_dns_record" {
description = "DNS record for the subdomain"
value = module.amplify.cloudfront_dns_record
}
output "iam_role_arn" {
value = module.iam_role.iam_role_arn
}
output "Redis" {
value = module.elasticache.cache_nodes
}