-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
35 lines (29 loc) · 1.05 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
output "fqdn" {
value = aws_route53_record.heroku.fqdn
description = "The fully-qualified domain name of the Heroku app."
}
output "heroku_app_id" {
value = module.heroku.app_id
description = "The ID of the Heroku app."
}
output "heroku_iam_user_id" {
value = aws_iam_user.heroku_user.id
description = "The ID of the IAM user for Heroku."
}
output "all_django_vars" {
value = module.heroku.all_config_vars
description = "All Django environment variables, as they are effectively set."
sensitive = true
}
output "storage_bucket_name" {
value = module.storage.bucket_name
description = "The storage S3 bucket name."
}
output "ec2_worker_hostnames" {
value = var.ec2_worker_instance_quantity > 0 ? aws_route53_record.ec2_worker[*].fqdn : []
description = "The public hostnames of the EC2 workers."
}
output "ec2_worker_iam_role_id" {
value = var.ec2_worker_instance_quantity > 0 ? module.ec2_worker[0].iam_role_id : null
description = "The ID of the instance profile IAM role for the EC2 workers."
}