-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrds.tf
26 lines (22 loc) · 887 Bytes
/
rds.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
module "banodoco_rds" {
source = "./modules/rds"
name = "banodoco-ai"
private_subnet_ids = aws_subnet.private.*.id
vpc_id = aws_vpc.main.id
ecs_security_group = aws_security_group.ecs_security_group.id
username = var.infra_config.banodoco_ai_rds.username
password = var.infra_config.banodoco_ai_rds.password
instance_class = var.infra_config.banodoco_ai_rds.instance_class
allocated_storage = var.infra_config.banodoco_ai_rds.allocated_storage
max_allocated_storage = var.infra_config.banodoco_ai_rds.max_allocated_storage
proxy_machine_ip = aws_instance.proxy_machine.private_ip
}
output "resource_id" {
value = module.banodoco_rds.resource_id
}
output "address" {
value = module.banodoco_rds.address
}
output "port" {
value = module.banodoco_rds.port
}