@@ -27,9 +27,32 @@ To use the module in your Terraform configuration, include the following source
2727``` tcl
2828module "example_doc_db_cluster" {
2929 source = "sourcefuse/arc-document-db/aws"
30- // we recommend to pin the version we aren't simply for an example reference against our latest changes.
31- # insert the required variables here
30+
31+ cluster_identifier = var.cluster_identifier
32+ master_username = var.master_username
33+ master_password = var.master_password
34+
35+ instance_count = var.instance_count
36+ instance_class = var.instance_class
37+
38+ subnet_config = {
39+ subnet_ids = data.aws_subnets.private.ids
40+ }
41+ vpc_id = data.aws_vpc.vpc.id
42+
43+ security_group_data = local.security_group_data
44+
45+ backup_retention_period = var.backup_retention_period
46+ preferred_backup_window = var.preferred_backup_window
47+ preferred_maintenance_window = var.preferred_maintenance_window
48+ skip_final_snapshot = var.skip_final_snapshot
49+
50+ storage_encrypted = var.storage_encrypted
51+ deletion_protection = var.deletion_protection
52+
53+ tags = module.tags.tags
3254}
55+
3356```
3457
3558### Integration with Existing Terraform Configurations
@@ -64,7 +87,7 @@ For a list of outputs, see the README [Outputs](https://github.com/sourcefuse/te
6487
6588### Basic Usage
6689
67- For basic usage, see the [ example] ( https://github.com/sourcefuse/terraform-aws-arc-document-db/tree/main/example ) folder.
90+ For basic usage, see the [ example] ( https://github.com/sourcefuse/terraform-aws-arc-document-db/tree/main/examples ) folder.
6891
6992This example will create:
7093
0 commit comments