-
-
Notifications
You must be signed in to change notification settings - Fork 325
/
outputs.tf
99 lines (80 loc) · 3.18 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
95
96
97
98
99
output "hostname" {
value = module.dns_hostname.hostname
description = "DNS hostname"
}
output "id" {
value = join("", aws_elastic_beanstalk_environment.default[*].id)
description = "ID of the Elastic Beanstalk environment"
}
output "name" {
value = join("", aws_elastic_beanstalk_environment.default[*].name)
description = "Name of the Elastic Beanstalk environment"
}
output "security_group_id" {
value = module.aws_security_group.id
description = "Elastic Beanstalk environment Security Group ID"
}
output "security_group_arn" {
value = module.aws_security_group.arn
description = "Elastic Beanstalk environment Security Group ARN"
}
output "security_group_name" {
value = module.aws_security_group.name
description = "Elastic Beanstalk environment Security Group name"
}
output "elb_zone_id" {
value = var.alb_zone_id[var.region]
description = "ELB zone ID"
}
output "ec2_instance_profile_role_name" {
value = join("", aws_iam_role.ec2[*].name)
description = "Instance IAM role name"
}
output "tier" {
value = join("", aws_elastic_beanstalk_environment.default[*].tier)
description = "The environment tier"
}
output "application" {
value = join("", aws_elastic_beanstalk_environment.default[*].application)
description = "The Elastic Beanstalk Application for this environment"
}
output "setting" {
value = try(aws_elastic_beanstalk_environment.default[0].setting, [])
description = "Settings specifically set for this environment"
}
output "all_settings" {
value = try(aws_elastic_beanstalk_environment.default[0].all_settings, [])
description = "List of all option settings configured in the environment. These are a combination of default settings and their overrides from setting in the configuration"
}
output "endpoint" {
value = join("", aws_elastic_beanstalk_environment.default[*].cname)
description = "Fully qualified DNS name for the environment"
}
output "autoscaling_groups" {
value = try(aws_elastic_beanstalk_environment.default[0].autoscaling_groups, [])
description = "The autoscaling groups used by this environment"
}
output "instances" {
value = try(aws_elastic_beanstalk_environment.default[*].instances, [])
description = "Instances used by this environment"
}
output "launch_configurations" {
value = try(aws_elastic_beanstalk_environment.default[*].launch_configurations, [])
description = "Launch configurations in use by this environment"
}
output "load_balancers" {
value = try(aws_elastic_beanstalk_environment.default[0].load_balancers, [])
description = "Elastic Load Balancers in use by this environment"
}
output "load_balancer_log_bucket" {
value = var.enable_loadbalancer_logs ? local.s3_bucket_access_log_name : null
description = "Name of bucket where Load Balancer logs are stored (if enabled)"
}
output "queues" {
value = try(aws_elastic_beanstalk_environment.default[*].queues, [])
description = "SQS queues in use by this environment"
}
output "triggers" {
value = try(aws_elastic_beanstalk_environment.default[*].triggers, [])
description = "Autoscaling triggers in use by this environment"
}