> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# vantage_custom_provider_costs_upload (Resource)

> Terraform resource reference for vantage_custom_provider_costs_upload (Resource). Auto-generated from the vantage-sh/terraform-provider-vantage repository.

<Note>
  This page is auto-generated based on the official [Terraform documentation](https://registry.terraform.io/providers/vantage-sh/vantage/latest/docs).
</Note>

## Overview

Use this resource with the [Vantage Terraform provider](/terraform). For installation and authentication, see the [Terraform provider quickstart](/terraform#quickstart). The schema below is generated directly from the provider source.

Uploads a CSV of costs for a Custom Provider integration.

## Example Usage

```terraform theme={null}
resource "vantage_custom_provider" "example" {
  name = "My Custom Provider"
}

resource "vantage_custom_provider_costs_upload" "example" {
  integration_token = vantage_custom_provider.example.token
  csv_content       = file("${path.module}/costs.csv")
  auto_transform    = true
}
```

## Schema

### Required

* `csv_content` (String, Sensitive) CSV content to upload as costs data.
* `integration_token` (String) The token of the Custom Provider integration to upload costs for.

### Optional

* `auto_transform` (Boolean) When true, attempts to automatically transform the CSV to match the FOCUS format.
* `filename` (String) Filename to use when uploading the CSV. Defaults to `costs.csv`. The API records this name and returns it in the `filename` attribute after upload. Changing this value forces a new upload.

### Read-Only

* `amount` (String) The total amount of costs in the upload.
* `end_date` (String) The end date of the costs in the upload.
* `id` (String) Same as token.
* `import_status` (String) The import status of the upload (e.g. processing, complete, error).
* `start_date` (String) The start date of the costs in the upload.
* `token` (String) Unique token of the costs upload.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.