Skip to content

Commit

Permalink
Merge pull request #3 from clouddrove/internal204
Browse files Browse the repository at this point in the history
Internal204
  • Loading branch information
themaniskshah committed Jan 18, 2023
2 parents 5d1df72 + 6aa3706 commit a19e19f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Here is an example of how you can use this module in your inventory structure:
module "documentdb" {
source = "clouddrove/terraform-aws-documentdb/aws"
vpc_id = module.vpc.vpc_id
subnet_list = data.aws_subnet_ids.all.ids
subnet_list = module.subnets.private_subnet_id
database_name = "rds"
environment = "test"
label_order = ["environment", "name"]
Expand Down
2 changes: 1 addition & 1 deletion README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ usage: |-
module "documentdb" {
source = "clouddrove/terraform-aws-documentdb/aws"
vpc_id = module.vpc.vpc_id
subnet_list = data.aws_subnet_ids.all.ids
subnet_list = module.subnets.private_subnet_id
database_name = "rds"
environment = "test"
label_order = ["environment", "name"]
Expand Down
1 change: 1 addition & 0 deletions example/secured/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,5 @@ module "documentdb" {
tls_enabled = var.tls_enabled
instance_class = var.instance_class
cluster_size = var.cluster_size
deletion_protection = true
}
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ resource "aws_docdb_cluster" "this" {
final_snapshot_identifier = lower(var.database_name)
skip_final_snapshot = var.skip_final_snapshot
apply_immediately = var.apply_immediately
deletion_protection = var.deletion_protection
storage_encrypted = var.storage_encrypted
kms_key_id = var.kms_key_id
snapshot_identifier = var.snapshot_identifier
Expand Down

0 comments on commit a19e19f

Please sign in to comment.