Skip to content

Latest commit

 

History

History

aws_databases

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Remote Module: aws_databases

Requirements

Name Version
terraform >= 1.7.5
aws >= 3.1.0
random >= 3.1.0

Providers

Name Version
aws 5.43.0
random 3.6.2

Modules

No modules.

Resources

Name Type
aws_db_instance.this resource
random_password.this resource

Inputs

Name Description Type Default Required
create_db_instance Create a new RDS instance bool false no
db_allocated_storage The amount of storage to allocate number null no
db_auto_minor_version_upgrade Whether to enable auto minor version upgrade bool true no
db_backup_retention_period The number of days to retain backups for number null no
db_backup_window The window in which to perform backups string "05:00-05:30" no
db_deletion_protection Whether to enable deletion protection bool true no
db_engine The database engine to use.One of mysql, postgres, oracle-se1, oracle-se2, oracle-se, oracle-ee, sqlserver-ee, sqlserver-se, sqlserver-ex, sqlserver-web, aurora, aurora-mysql, aurora-postgresql, mariadb string null no
db_engine_version The version of the database engine to use string null no
db_final_snapshot_identifier The name of the final snapshot string null no
db_instance_class The instance type to use string null no
db_instance_identifier The name of the RDS instance string null no
db_maintenance_window The window in which to perform maintenance string "Sat:07:00-Sat:08:00" no
db_multi_az Whether to use multi-AZ bool false no
db_name The name of the database to create string null no
db_parameter_group_name The name of the parameter group to use string null no
db_password The password to use string null no
db_performance_insights_enabled Whether to enable performance insights bool false no
db_performance_insights_kms_key_id The KMS key ID to use for performance insights string null no
db_publicly_accessible Whether the RDS instance is publicly accessible bool false no
db_security_group_id The ID of the security group to use string null no
db_skip_final_snapshot Whether to skip the final snapshot bool null no
db_storage_encrypted Whether to encrypt the storage bool false no
db_storage_type The type of storage to use string null no
db_subnet_group_name The name of the subnet group to use string null no
db_tags A map of tags to add to the RDS instance map(string)
{
"ManagedBy": "Terraform"
}
no
db_username The username to use string null no

Outputs

Name Description
db_password The password for the database user
rds_engine The database engine for the RDS instance
rds_engine_version The database engine version for the RDS instance
rds_instance_address The address of the RDS instance
rds_instance_password The password for the RDS instance
rds_instance_port The port for the RDS instance
rds_instance_user The username for the RDS instance
rds_name The name of the RDS instance