Skip to content

Commit

Permalink
Skip GovCloud failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Jan 5, 2022
1 parent 73d1bcc commit 34b4a86
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions internal/service/fsx/openzfs_file_system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ import (
"github.com/hashicorp/terraform-provider-aws/internal/tfresource"
)

func init() {
acctest.RegisterServiceErrorCheckFunc(fsx.EndpointsID, testAccErrorCheckSkipFSx)
}

func testAccErrorCheckSkipFSx(t *testing.T) resource.ErrorCheckFunc {
return acctest.ErrorCheckSkipMessagesContaining(t,
"Amazon FSx does not currently support OpenZFS file system creation in the following Availability Zones",
)
}

func TestAccFSxOpenzfsFileSystem_basic(t *testing.T) {
var filesystem fsx.FileSystem
resourceName := "aws_fsx_openzfs_file_system.test"
Expand Down

0 comments on commit 34b4a86

Please sign in to comment.