fix a word in aws_iam_role_policy error msg (#13794)

This commit is contained in:
Daniel Kats 2017-04-19 22:48:58 -07:00 committed by Radek Simko
parent 99a73094f7
commit 8a70108612
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ func resourceAwsIamRolePolicyDelete(d *schema.ResourceData, meta interface{}) er
func resourceAwsIamRolePolicyParseId(id string) (roleName, policyName string, err error) { func resourceAwsIamRolePolicyParseId(id string) (roleName, policyName string, err error) {
parts := strings.SplitN(id, ":", 2) parts := strings.SplitN(id, ":", 2)
if len(parts) != 2 { if len(parts) != 2 {
err = fmt.Errorf("role_policy id must be of the for <role name>:<policy name>") err = fmt.Errorf("role_policy id must be of the form <role name>:<policy name>")
return return
} }