mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #12011 from hashicorp/f-fix-role-regexp
provider/aws: Fix matching regexp in invalid role config test
This commit is contained in:
commit
555c8bb723
@ -91,7 +91,7 @@ func TestAccAWSRole_badJSON(t *testing.T) {
|
||||
Steps: []resource.TestStep{
|
||||
{
|
||||
Config: testAccAWSRoleConfig_badJson,
|
||||
ExpectError: regexp.MustCompile(`"assume_role_policy" contains an invalid JSON:.*`),
|
||||
ExpectError: regexp.MustCompile(`.*contains an invalid JSON:.*`),
|
||||
},
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user