File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ func SkipSweepError(err error) bool {
45
45
if tfawserr .ErrMessageContains (err , "HttpConnectionTimeoutException" , "Failed to connect to" ) {
46
46
return true
47
47
}
48
+ // Example (amp): InternalServerErrorException: Internal server error
49
+ if tfawserr .ErrMessageContains (err , "InternalServerErrorException" , "Internal server error" ) {
50
+ return true
51
+ }
48
52
// Example (GovCloud): InvalidAction: DescribeDBProxies is not available in this region
49
53
if tfawserr .ErrMessageContains (err , "InvalidAction" , "is not available" ) {
50
54
return true
@@ -130,6 +134,10 @@ func SkipSweepError(err error) bool {
130
134
if tfawserr .ErrMessageContains (err , "UnsupportedOperation" , "The functionality you requested is not available in this region" ) {
131
135
return true
132
136
}
137
+ // Example (fsx): UnsupportedOperation: This operation is unsupported.
138
+ if tfawserr .ErrMessageContains (err , "UnsupportedOperation" , "This operation is unsupported" ) {
139
+ return true
140
+ }
133
141
// For example from us-west-1 EMR studio
134
142
if tfawserr .ErrMessageContains (err , "ValidationException" , "Account is not whitelisted to use this feature" ) {
135
143
return true
You can’t perform that action at this time.
0 commit comments