fix typo
This commit is contained in:
parent
9891523e36
commit
5f1ab2a953
|
@ -93,7 +93,7 @@ func testAccCheckAWSGroupMembershipExists(n string, g *iam.GetGroupOutput) resou
|
||||||
func testAccCheckAWSGroupMembershipAttributes(group *iam.GetGroupOutput, users []string) resource.TestCheckFunc {
|
func testAccCheckAWSGroupMembershipAttributes(group *iam.GetGroupOutput, users []string) resource.TestCheckFunc {
|
||||||
return func(s *terraform.State) error {
|
return func(s *terraform.State) error {
|
||||||
if *group.Group.GroupName != "test-group" {
|
if *group.Group.GroupName != "test-group" {
|
||||||
return fmt.Errorf("Bad group membership: expected %s, got %s", "test-group-update", *group.Group.GroupName)
|
return fmt.Errorf("Bad group membership: expected %s, got %s", "test-group", *group.Group.GroupName)
|
||||||
}
|
}
|
||||||
|
|
||||||
uc := len(users)
|
uc := len(users)
|
||||||
|
|
Loading…
Reference in New Issue