Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 3.25 KB

README.md

File metadata and controls

49 lines (38 loc) · 3.25 KB

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_db_instance.rds resource
aws_db_subnet_group.rds_subnet_group resource

Inputs

Name Description Type Default Required
allocated_storage The amount of allocated storage in GBs number 20 no
backup_retention_period The number of days to retain backups for number 7 no
db_engine The database engine to use string "postgres" no
db_engine_version DB engine version string "16.4" no
db_name The name of the database string n/a yes
db_password The master password for the database string n/a yes
db_username The master username for the database string "admin" no
env Environment string "stg" no
instance_class The instance class for the RDS instance string "db.t3.micro" no
multi_az Enable multi-az deployment bool n/a yes
parameter_group_name DB parameter group name string "default.postgres16" no
private_subnet_ids List of private subnet IDs for the RDS instance list(string) n/a yes
publicly_accessible Enable public access to the DB bool n/a yes
security_group_id The security group ID for the RDS instance string n/a yes
skip_final_snapshot Skip final snapshot creation bool n/a yes
storage_encrypted Enable DB encryption bool n/a yes

Outputs

Name Description
rds_endpoint The endpoint of the RDS instance
rds_instance_id The ID of the RDS instance
rds_subnet_group The subnet group used for RDS