updated return method in create to fail if the api returns an error
updated return method in create to fail if the api returns an error

mattwilmott/terraform-foreman,lunuslovesgreat/terraform-provider-foreman