apfm-actions/DocumentDB Deploy

Deploy an AWS DocumentDB using Terraform

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit May 21, 2020
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: apfm-actions/terraform-docdb-action@1b72710058dbaa1954fefe7bd7f3d79caa8afe13 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
destroyRuns Terraform destroy to remove resources created by this actionnofalse
deployRuns Terraform apply to create/update resources created by this actionnotrue
planRuns Terraform plan to check the changes necessary to achieve the desired statenotrue
cluster_nameDocumentDB cluster nameyes
usernameUsername for the DocumentDB access. Hyphens are not allowed.yes
credstash_docdb_passwordCredstash secret name/key. Used to retrieve the stored password for the DocumentDB clusteryes
parameter_groupA cluster parameter group to associate with the clusterno
security_group_idsA comma separated list of security group IDs associated with the clusterno
portThe port on which the DB accepts connectionsno27017
storage_encryptedSpecifies whether the DB cluster is encryptednofalse
apply_immediatelySpecifies whether any cluster modifications are applied immediately, or during the next maintenance window. APPLY IMMEDIATELY WILL CAUSE OUTAGEnofalse
backup_windowThe daily time range during which automated backups are created in UTC. e.g. 04:00-09:00no07:00-11:00
backup_retentionThe days to retain backups forno1
instance_countNumber of instances to create and join to the clusterno1
instance_classThe instance class to use. Supported instance classes: https://docs.aws.amazon.com/documentdb/latest/developerguide/db-instance-classes.html#db-instance-class-specsnodb.r5.large
subnet_idsA comma separated list of subnet IDsyes
namedescription
documentdb_nameName of the created documentdb cluster
documentdb_arnARN of the created documentdb cluster
documentdb_endpointThe DNS address of the DocDB instance
documentdb_reader_endpointA read-only endpoint for the DocDB cluster, automatically load-balanced across replicas