diff --git a/README.md b/README.md index 45f26ad..e10252e 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ Available targets: | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 0.13.0 | +| [terraform](#requirement\_terraform) | >= 0.14.0 | | [aws](#requirement\_aws) | >= 2.0 | | [local](#requirement\_local) | >= 1.3 | | [random](#requirement\_random) | >= 1.0 | @@ -232,6 +232,7 @@ Available targets: | [cluster\_name](#output\_cluster\_name) | Cluster Identifier | | [endpoint](#output\_endpoint) | Endpoint of the DocumentDB cluster | | [master\_host](#output\_master\_host) | DB master hostname | +| [master\_password](#output\_master\_password) | Password for the master DB user | | [master\_username](#output\_master\_username) | Username for the master DB user | | [reader\_endpoint](#output\_reader\_endpoint) | A read-only endpoint of the DocumentDB cluster, automatically load-balanced across replicas | | [replicas\_host](#output\_replicas\_host) | DB replicas hostname | diff --git a/docs/terraform.md b/docs/terraform.md index 53428ae..7ec922e 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -3,7 +3,7 @@ | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 0.13.0 | +| [terraform](#requirement\_terraform) | >= 0.14.0 | | [aws](#requirement\_aws) | >= 2.0 | | [local](#requirement\_local) | >= 1.3 | | [random](#requirement\_random) | >= 1.0 | @@ -96,6 +96,7 @@ | [cluster\_name](#output\_cluster\_name) | Cluster Identifier | | [endpoint](#output\_endpoint) | Endpoint of the DocumentDB cluster | | [master\_host](#output\_master\_host) | DB master hostname | +| [master\_password](#output\_master\_password) | Password for the master DB user | | [master\_username](#output\_master\_username) | Username for the master DB user | | [reader\_endpoint](#output\_reader\_endpoint) | A read-only endpoint of the DocumentDB cluster, automatically load-balanced across replicas | | [replicas\_host](#output\_replicas\_host) | DB replicas hostname | diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf index 2080158..f0b52f5 100644 --- a/examples/complete/versions.tf +++ b/examples/complete/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.13.0" + required_version = ">= 0.14.0" required_providers { aws = { diff --git a/outputs.tf b/outputs.tf index 75935df..832ef27 100644 --- a/outputs.tf +++ b/outputs.tf @@ -3,6 +3,12 @@ output "master_username" { description = "Username for the master DB user" } +output "master_password" { + value = join("", aws_docdb_cluster.default[*].master_password) + description = "Password for the master DB user" + sensitive = true +} + output "cluster_name" { value = join("", aws_docdb_cluster.default[*].cluster_identifier) description = "Cluster Identifier" diff --git a/versions.tf b/versions.tf index 74cc7ae..6d674d0 100644 --- a/versions.tf +++ b/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.13.0" + required_version = ">= 0.14.0" required_providers { aws = {