-
Notifications
You must be signed in to change notification settings - Fork 0
/
rds_outputs.tf
25 lines (24 loc) · 1023 Bytes
/
rds_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
output "order_svc_db" {
value = {
"address" : aws_db_instance.order_svc_db.address
"arn" : aws_db_instance.order_svc_db.arn
"availability_zone" : aws_db_instance.order_svc_db.availability_zone
"endpoint" : aws_db_instance.order_svc_db.endpoint
"id" : aws_db_instance.order_svc_db.id
"resource_id" : aws_db_instance.order_svc_db.resource_id
"tags" : aws_db_instance.order_svc_db.tags
"vpc_security_group_ids" : aws_db_instance.order_svc_db.vpc_security_group_ids
}
}
output "payment_svc_db" {
value = {
"address" : aws_db_instance.payment_svc_db.address
"arn" : aws_db_instance.payment_svc_db.arn
"availability_zone" : aws_db_instance.payment_svc_db.availability_zone
"endpoint" : aws_db_instance.payment_svc_db.endpoint
"id" : aws_db_instance.payment_svc_db.id
"resource_id" : aws_db_instance.payment_svc_db.resource_id
"tags" : aws_db_instance.payment_svc_db.tags
"vpc_security_group_ids" : aws_db_instance.payment_svc_db.vpc_security_group_ids
}
}