generated from xoap-io/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
29 lines (29 loc) · 889 Bytes
/
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
output "context" {
value = var.context
description = "Exported context from input variable"
}
output "db_instance" {
value = aws_db_instance.this
description = "Exported output from aws_db_instance"
}
output "option_group" {
value = aws_db_option_group.this
description = "Exported output from aws_db_option_group"
}
output "parameter_group" {
value = aws_db_parameter_group.this
description = "Exported output from aws_db_parameter_group"
}
output "subnet_group" {
value = aws_db_subnet_group.this
description = "Exported output from aws_db_subnet_group"
}
output "auth" {
value = {
host = aws_db_instance.this.address
port = aws_db_instance.this.port
username = aws_db_instance.this.username
password = aws_db_instance.this.password
}
description = "Exported auth information for passing between modules"
}