Skip to content

Commit

Permalink
Tweak 'TestAccRDSCluster_basic'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Feb 12, 2024
1 parent e65e89f commit 3cea12a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal/service/rds/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ func TestAccRDSCluster_basic(t *testing.T) {
resource.TestCheckResourceAttrSet(resourceName, "db_cluster_parameter_group_name"),
resource.TestCheckResourceAttr(resourceName, "db_system_id", ""),
resource.TestCheckResourceAttr(resourceName, "delete_automated_backups", "true"),
resource.TestCheckResourceAttr(resourceName, "domain", ""),
resource.TestCheckResourceAttr(resourceName, "domain_iam_role_name", ""),
resource.TestCheckResourceAttr(resourceName, "enabled_cloudwatch_logs_exports.#", "0"),
resource.TestCheckResourceAttr(resourceName, "engine", tfrds.ClusterEngineAuroraMySQL),
resource.TestCheckResourceAttrSet(resourceName, "engine_version"),
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/rds_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ This argument supports the following arguments:
The database can't be deleted when this value is set to `true`.
The default is `false`.
* `domain` - (Optional) The ID of the Directory Service Active Directory domain to create the cluster in.
* `domain_iam_role_name` - (Optional, but required if domain is provided) The name of the IAM role to be used when making API calls to the Directory Service.
* `domain_iam_role_name` - (Optional, but required if `domain` is provided) The name of the IAM role to be used when making API calls to the Directory Service.
* `enable_global_write_forwarding` - (Optional) Whether cluster should forward writes to an associated global cluster. Applied to secondary clusters to enable them to forward writes to an [`aws_rds_global_cluster`](/docs/providers/aws/r/rds_global_cluster.html)'s primary cluster. See the [Aurora Userguide documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding.html) for more information.
* `enable_http_endpoint` - (Optional) Enable HTTP endpoint (data API). Only valid when `engine_mode` is set to `serverless`.
* `enabled_cloudwatch_logs_exports` - (Optional) Set of log types to export to cloudwatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `error`, `general`, `slowquery`, `postgresql` (PostgreSQL).
Expand Down

0 comments on commit 3cea12a

Please sign in to comment.