-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
142 lines (131 loc) · 4.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
output "public_subnets" {
description = "List of the public subnets"
value = module.vpc.public_subnets
}
# output "private_subnets" {
# description = "List of the private subnets"
# value = module.dev_db.db_instance_address
# }
# output "dev-database_instance_address" {
# description = "The address of the RDS instance"
# value = module.dev_db.db_instance_address
# }
# output "stage-database_instance_address" {
# description = "The address of the RDS instance"
# value = module.stage_db.db_instance_address
# }
# output "prod-database_instance_address" {
# description = "The address of the RDS instance"
# value = module.prod_db.db_instance_address
# }
# output "dev-database_instance_availability_zone" {
# description = "The availability zone of the RDS instance"
# value = module.dev_db.db_instance_availability_zone
# }
# output "stage-database_instance_availability_zone" {
# description = "The availability zone of the RDS instance"
# value = module.stage_db.db_instance_availability_zone
# }
# output "prod-database_instance_availability_zone" {
# description = "The availability zone of the RDS instance"
# value = module.prod_db.db_instance_availability_zone
# }
# output "dev-database_instance_endpoint" {
# description = "The connection endpoint"
# value = module.dev_db.db_instance_endpoint
# }
# output "stage-database_instance_endpoint" {
# description = "The connection endpoint"
# value = module.stage_db.db_instance_endpoint
# }
# output "prod-database_instance_endpoint" {
# description = "The connection endpoint"
# value = module.prod_db.db_instance_endpoint
# }
# output "dev-database_instance_id" {
# description = "The RDS instance ID"
# value = module.dev_db.db_instance_id
# }
# output "stage-database_instance_id" {
# description = "The RDS instance ID"
# value = module.stage_db.db_instance_id
# }
# output "prod-database_instance_id" {
# description = "The RDS instance ID"
# value = module.prod_db.db_instance_id
# }
# output "dev-database_instance_status" {
# description = "The RDS instance status"
# value = module.dev_db.db_instance_status
# }
# output "stage-database_instance_status" {
# description = "The RDS instance status"
# value = module.stage_db.db_instance_status
# }
# output "prod-database_instance_status" {
# description = "The RDS instance status"
# value = module.prod_db.db_instance_status
# }
# output "dev-database_name" {
# description = "The database name"
# value = module.dev_db.db_instance_name
# }
# output "stage-database_name" {
# description = "The database name"
# value = module.stage_db.db_instance_name
# }
# output "prod-database_name" {
# description = "The database name"
# value = module.prod_db.db_instance_name
# }
# output "dev-database_username" {
# description = "The master username for the database"
# value = module.dev_db.db_instance_username
# sensitive = true
# }
# output "stage-database_username" {
# description = "The master username for the database"
# value = module.stage_db.db_instance_username
# sensitive = true
# }
# output "prod-database_username" {
# description = "The master username for the database"
# value = module.prod_db.db_instance_username
# sensitive = true
# }
# output "dev-rds_password" {
# value = data.aws_ssm_parameter.dev_rds_password.value
# sensitive = true
# }
# output "stage-rds_password" {
# value = data.aws_ssm_parameter.stage_rds_password.value
# sensitive = true
# }
# output "prod-rds_password" {
# value = data.aws_ssm_parameter.prod_rds_password.value
# sensitive = true
# }
# output "dev-database_port" {
# description = "The database port"
# value = module.dev_db.db_instance_port
# }
# output "stage-database_port" {
# description = "The database port"
# value = module.stage_db.db_instance_port
# }
# output "prod-database_port" {
# description = "The database port"
# value = module.prod_db.db_instance_port
# }
output "cluster_name" {
description = "The Name of the EKS cluster"
value = var.cluster_name
}
output "aws_region" {
description = "The AWS region ID"
value = var.aws_region
}
output "nat_gateways" {
description = ""
value = aws_eip.nat_gw_elastic_ip.*.public_ip
}