diff --git a/internal/awx/resource_job_template_launch.go b/internal/awx/resource_job_template_launch.go index b0df6f6a..749a633d 100644 --- a/internal/awx/resource_job_template_launch.go +++ b/internal/awx/resource_job_template_launch.go @@ -131,7 +131,7 @@ func resourceJobTemplateLaunchCreate(ctx context.Context, d *schema.ResourceData if err != nil { return utils.Diagf( "JobTemplate execution failure", - fmt.Sprintf("JobTemplateLaunch with ID %d and template ID %d, failed to complete %s", res.ID, d.Get("job_template_id").(int), err.Error()), + fmt.Sprintf("JobTemplateLaunch with ID %d and template ID %d, failed to complete %s", res.ID, d.Get("job_template_id").(int), String(err.Error())), ) } }