-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
94 lines (80 loc) · 2.2 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
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
output "s3_static_bucket_arn" {
description = "ARN of the bucket"
value = aws_s3_bucket.static.arn
}
output "s3_static_bucket_name" {
description = "Name (id) of the bucket"
value = aws_s3_bucket.static.id
}
output "s3_uploads_bucket_arn" {
description = "ARN of the bucket"
value = aws_s3_bucket.uploads.arn
}
output "s3_uploads_bucket_name" {
description = "Name (id) of the bucket"
value = aws_s3_bucket.uploads.id
}
output "ec2_asg_version" {
description = "Version of the ec2 asg"
value = module.ec2.asg_version
}
output "rds_db_instance_address" {
description = "The address of the RDS instance"
value = module.rds.db_instance_address
}
output "vpc_id" {
description = "The ID of the VPC"
value = module.vpc.vpc_id
}
output "celery_queue_arn" {
description = "The ARN of the SQS queue"
value = aws_sqs_queue.celery_queue.arn
}
output "docker_repository_url" {
description = "The URL of the docker registry"
value = module.ecr.repository_url
}
output "cloudfront_domain_name" {
description = "The domain name of the cloudfront distribution"
value = module.cdn.cloudfront_distribution_domain_name
}
output "cloudfront_id" {
description = "The domain name of the cloudfront distribution"
value = module.cdn.cloudfront_distribution_id
}
output "private_route_table_ids" {
value = module.vpc.private_route_table_ids
}
output "private_subnets_cidr_blocks" {
value = module.vpc.private_subnets_cidr_blocks
}
output "private_subnets" {
value = module.vpc.private_subnets
}
output "db_sg_id" {
value = module.sg.db_sg_id
}
output "database_subnets" {
value = module.vpc.database_subnets
}
output "ld_sg_id" {
value = module.sg.ld_sg_id
}
output "public_subnets" {
value = module.vpc.public_subnets
}
output "target_group_arns" {
value = module.loadbalancer.target_group_arns
}
output "ec2_sg_id" {
value = module.sg.ec2_sg_id
}
output "db_instance_resource_id" {
value = module.rds.db_instance_resource_id
}
output "url" {
value = module.loadbalancer.url
}
output "aws_sns_topic_subscription_arn" {
value = length(aws_sns_topic_subscription.sns-topic) > 0 ? aws_sns_topic_subscription.sns-topic[0].arn : ""
}