-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36936 from hashicorp/b-dms-replication-task-settings
`aws_dms_replication_config`, `aws_dms_replication_task`: suppress differences on task settings
- Loading branch information
Showing
16 changed files
with
2,605 additions
and
674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
```release-note:bug | ||
resource/aws_dms_replication_task: Allows leaving `replication_task_settings` unset to use default settings. | ||
``` | ||
|
||
```release-note:bug | ||
resource/aws_dms_replication_task: Suppresses differences in partial `replication_task_settings` JSON documents. | ||
``` | ||
|
||
```release-note:bug | ||
resource/aws_dms_replication_task: Adds validation to `replication_task_settings` to disallow `Logging.CloudWatchLogGroup` and `Logging.CloudWatchLogStream`. | ||
``` | ||
|
||
```release-note:bug | ||
resource/aws_dms_replication_config: Suppresses differences in partial `replication_settings` JSON documents. | ||
``` | ||
|
||
```release-note:bug | ||
resource/aws_dms_replication_config: Adds validation to `replication_settings` to disallow `Logging.CloudWatchLogGroup` and `Logging.CloudWatchLogStream`. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
package dms_test | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/hashicorp/terraform-plugin-testing/helper/resource" | ||
"github.com/hashicorp/terraform-provider-aws/internal/acctest" | ||
"github.com/hashicorp/terraform-provider-aws/names" | ||
) | ||
|
||
func init() { | ||
acctest.RegisterServiceErrorCheckFunc(names.DMSServiceID, testAccErrorCheckSkip) | ||
} | ||
|
||
// testAccErrorCheckSkip skips DMS tests that have error messages indicating unsupported features | ||
func testAccErrorCheckSkip(t *testing.T) resource.ErrorCheckFunc { | ||
return acctest.ErrorCheckSkipMessagesContaining(t, | ||
// Serverless DMS in GovCloud | ||
"SERVERLESS feature is not available", | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.