-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutput.tf
54 lines (44 loc) · 1.37 KB
/
output.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
output "endpoint" {
value = aws_db_instance.db.endpoint
description = "Endpoint of database in `address:port` format"
}
output "address" {
value = aws_db_instance.db.address
description = "The hostname of the RDS instance"
}
output "port" {
value = aws_db_instance.db.port
description = "Port at which RDS database is listening for traffic"
}
output "username" {
value = aws_db_instance.db.username
description = "Master username of database"
}
output "password_ssm_name" {
value = aws_ssm_parameter.db_password.name
description = "Name of SSM Parameter used for storing database password"
}
output "password_ssm_arn" {
value = aws_ssm_parameter.db_password.arn
description = "ARN of SSM Parameter used for storing database password"
}
output "db_name" {
value = aws_db_instance.db.db_name
description = "Name of default database created by RDS"
}
output "id" {
value = aws_db_instance.db.id
description = "ID of RDS database instance"
}
output "arn" {
value = aws_db_instance.db.arn
description = "ARN of RDS database instance"
}
output "resource_id" {
value = aws_db_instance.db.resource_id
description = "Resource ID of RDS database instance"
}
output "hosted_zone_id" {
value = aws_db_instance.db.hosted_zone_id
description = "Canonical hosted zone ID of RDS database instance"
}