forked from filatov0120/terraform_modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_rds.tf
27 lines (24 loc) · 1.07 KB
/
main_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
27
module "rds_postgres" {
source = "[email protected]:filatov0120/terraform_modules.git//aws_rds?ref=v1.5.0"
apply_immediately = var.apply_immediately
multi_az = var.multi_az
cidr_vpc = var.cidr_vpc
vpc_id = module.vpc.vpc_id
allocated_storage = var.allocated_storage
max_allocated_storage = var.max_allocated_storage
allow_major_version_upgrade = var.allow_major_version_upgrade
backup_retention_period = var.backup_retention_period
deletion_protection = var.deletion_protection
engine = var.rds_engine
engine_version = var.rds_engine_version
instance_class = var.instance_class
publicly_accessible = var.publicly_accessible
skip_final_snapshot = var.skip_final_snapshot
subnet_ids = module.vpc.private_subnet_ids
db_port = var.db_port
username = var.username
password = var.password
db_name = var.db_name
project_name = var.project_name
env = var.env
}