-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
80 lines (65 loc) · 2.34 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
# Most of these are used by kitchen so it can forward them to inspec
output "main_vpc_id" {
value = module.main_vpc.vpc_id
description = "ID of the main VPC geenrated by the module"
}
output "static_assets_bucket_id" {
value = aws_s3_bucket.static_assets.bucket
description = "ID of the bucket serving static assets"
}
output "bastion_sg_id" {
value = aws_security_group.bastion.id
description = "ID of the security group used by the bastion instance"
}
output "bastion_asg_name" {
value = module.bastion.asg_name
description = "ID of the bastion auto scaling group"
}
output "bastion_iam_policy_name" {
value = module.bastion.iam_policy_name
description = "ID of the bastion IAM policy generated by the module"
}
output "bastion_iam_role_name" {
value = module.bastion.iam_role_name
description = "Name of the IAM role/profile generated by the module"
}
output "goiardi_sg_id" {
value = aws_security_group.goiardi.id
description = "ID of the security group used by the goiardi instance"
}
output "goiardi_asg_name" {
value = module.goiardi.asg_name
description = "ID of the goiardi auto scaling group"
}
output "goiardi_iam_policy_name" {
value = module.goiardi.iam_policy_name
description = "ID of the goiardi IAM policy generated by the module"
}
output "goiardi_iam_role_name" {
value = module.goiardi.iam_role_name
description = "Name of the IAM role/profile generated by the module"
}
output "goiardi_extra_iam_policy_name" {
value = aws_iam_policy.goiardi.name
description = "Name of the user defined IAM policy for the goiardi instance"
}
output "main_alb_sg_id" {
value = aws_security_group.main_alb.id
description = "ID of the main ALB's security group"
}
output "main_alb_arn" {
value = aws_lb.main.arn
description = "ARN of the main load balancer"
}
output "account_availability_zones" {
value = data.aws_availability_zones.available.names
description = "A list of all availability zones accessible to your account in the main region"
}
output "main_postgres_sg_id" {
value = aws_security_group.main_postgres.id
description = "ID of the main postgres instance's security group"
}
output "req_db_sg_id" {
value = aws_security_group.req-db.id
description = "ID of the security group that allows traffic to the postgres instance"
}