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.
This page is auto-generated based on the official Terraform documentation.
vantage_custom_provider_costs_upload (Resource)
Uploads a CSV of costs for a Custom Provider integration. The CSV must conform to the FOCUS format, or setauto_transform = true to let Vantage attempt an automatic conversion.
Destroying this resource deletes the upload from Vantage.
Note: This resource does not supportterraform import. There is no GET endpoint for individual uploads, so import cannot hydrate the requiredintegration_tokenandcsv_contentfields. Manage this resource exclusively through Terraform from initial creation.
Example Usage
Schema
Required
csv_content(String, Sensitive) CSV content to upload as costs data. Must conform to the FOCUS format unlessauto_transformis enabled. This value is write-only and is never returned by the API; it is stored in state solely to detect changes.integration_token(String) The token of the Custom Provider integration to upload costs for.
Optional
auto_transform(Boolean) When true, Vantage attempts to automatically transform the CSV to match the FOCUS format. Defaults to false.filename(String) Filename to use when uploading the CSV. Defaults tocosts.csv. The API records this name and returns it in thefilenameattribute 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 billing period covered by the upload.filename(String) The filename recorded by the API after upload.id(String) Same astoken.import_status(String) The import status of the upload (e.g.processing,complete,error).start_date(String) The start date of the billing period covered by the upload.token(String) Unique token of the costs upload.