Skip to content

iagoferreirati/terraform-module-documentdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-documentdb

Requirements

Name Version
aws 4.51.0

Providers

Name Version
aws 4.51.0
random n/a

Modules

No modules.

Resources

Name Type
aws_docdb_cluster.this resource
aws_docdb_cluster_instance.this resource
aws_docdb_subnet_group.this resource
aws_security_group.this resource
aws_security_group_rule.egress resource
aws_security_group_rule.ingress_cidr_blocks resource
aws_ssm_parameter.this resource
random_password.this resource
aws_subnets.this data source
aws_vpc.this data source

Inputs

Name Description Type Default Required
apply_immediately Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. bool true no
auto_minor_version_upgrade This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set (see docs) bool true no
backup_retention_period The days to retain backups for. number 5 no
cluster_identifier Cria um identificador de cluster exclusivo começando com o prefixo especificado string "" yes
deletion_protection A value that indicates whether the DB cluster has deletion protection enabled. bool false no
enabled_cloudwatch_logs_exports List of log types to export to cloudwatch. If omitted, no logs will be exported. The following log types are supported: audit, profiler list(string) [] no
engine The name of the database engine to be used for this DB cluster. Defaults to docdb. Valid Values: docdb string "docdb" no
engine_version The database engine version. Updating this argument results in an outage. string "4.0.0" no
instance_class The instance class to use. For details on CPU and memory, see Scaling for DocDB Instances. string "db.t3.medium" no
instance_count Number of DB instances to create in the cluster number 3 no
kms_key_id The ARN for the KMS encryption key. When specifying kms_key_id, storage_encrypted needs to be set to true string "" no
master_username Username for the master DB user string "administrator" no
port The days to retain backups for. number 27017 no
preferred_backup_window The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter string "02:00-05:00" no
preferred_maintenance_window The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30 string "Mon:00:00-Mon:02:00" no
region n/a string n/a yes
skip_final_snapshot Determines whether a final DB snapshot is created before the DB cluster is deleted. bool false no
snapshot_identifier Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot string "" no
storage_encrypted Specifies whether the DB cluster is encrypted. bool true no
tags n/a map(any) {} no
vpc_id n/a string "" yes

Outputs

No outputs.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages