Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mikatong committed Dec 20, 2024
1 parent 2ce4121 commit 19c1c4a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@ func resourceTencentCloudIdentityCenterRoleConfigurationPermissionCustomPolicyAt
}

if rolePolicie == nil {
d.SetId("")
log.Printf("[WARN]%s resource `identity_center_role_configuration_permission_policy_attachment` [%s] not found, please check if it has been deleted.\n", logId, d.Id())
return nil
return fmt.Errorf("RolePolicy %s is not exist", d.Id())
}

if rolePolicie.RolePolicyName != nil {
Expand Down

0 comments on commit 19c1c4a

Please sign in to comment.