Skip to content

Commit

Permalink
Fix format string
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottzack429 committed Oct 4, 2022
1 parent 793ea4c commit 14e4cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource_alks_iamrole.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func resourceAlksIamRoleRead(ctx context.Context, d *schema.ResourceData, meta i
// We will log ther error and set id to "" and return nil, letting terraform decide how to handle role not found.
if foundRole != nil {
if foundRole.Exists != true {
log.Printf("[Error] %#v", err)
log.Printf("[Error] %s", err)
d.SetId("")
return nil
}
Expand Down

0 comments on commit 14e4cfb

Please sign in to comment.