Skip to content

Commit

Permalink
Merge branch 'f-aws_rbin_rule-service' of github.com:rlizzo/terraform…
Browse files Browse the repository at this point in the history
…-provider-aws into f-aws_rbin_rule-service
  • Loading branch information
Sharon Nam authored and Sharon Nam committed Mar 24, 2023
2 parents 3659430 + 742a8bd commit 1cf9147
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions internal/service/rbin/rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,16 +196,6 @@ func testAccCheckRuleExists(name string, rbinrule *rbin.GetRuleOutput) resource.
}
}

func testAccCheckRuleNotRecreated(before, after *rbin.GetRuleOutput) resource.TestCheckFunc {
return func(s *terraform.State) error {
if before, after := aws.ToString(before.Identifier), aws.ToString(after.Identifier); before != after {
return create.Error(names.RBin, create.ErrActionCheckingNotRecreated, tfrbin.ResNameRule, before, errors.New("recreated"))
}

return nil
}
}

func testAccRuleConfig_basic(description, resourceType string) string {
return fmt.Sprintf(`
resource "aws_rbin_rule" "test" {
Expand Down

0 comments on commit 1cf9147

Please sign in to comment.