The tap-aws-cost-explorer Meltano extractor pulls data from AWS Cost Explorer that can then be sent to a destination using a loader.

Getting Started #

Prerequisites #

If you haven't already, follow the initial steps of the Getting Started guide:

  1. Install Meltano
  2. Create your Meltano project

Installation and configuration #

Using the Command Line Interface #

  1. Add the tap-aws-cost-explorer extractor to your project using meltano add :

    meltano add extractor tap-aws-cost-explorer
  2. Configure the settings below using meltano config .

Next steps #

Follow the remaining steps of the Getting Started guide:

  1. Select entities and attributes to extract
  2. Add a loader to send data to a destination
  3. Run a data integration (EL) pipeline

If you run into any issues, learn how to get help.

Capabilities #

Settings #

tap-aws-cost-explorer requires the configuration of the following settings:

These and other supported settings are documented below. To quickly find the setting you're looking for, use the Table of Contents at the top of the page.

Access Key (access_key) #

Your AWS Account Access Key.

How to use #

Manage this setting using meltano config or an environment variable:

meltano config tap-aws-cost-explorer set access_key <access_key>

export TAP_AWS_COST_EXPLORER_ACCESS_KEY=<access_key>

Secret Key (secret_key) #

Your AWS Account Secret Key.

How to use #

Manage this setting using meltano config or an environment variable:

meltano config tap-aws-cost-explorer set secret_key <secret_key>

export TAP_AWS_COST_EXPLORER_SECRET_KEY=<secret_key>

Start Date (start_date) #

The start date for retrieving Amazon Web Services cost.

How to use #

Manage this setting using meltano config or an environment variable:

meltano config tap-aws-cost-explorer set start_date <start_date>

export TAP_AWS_COST_EXPLORER_START_DATE=<start_date>

End Date (end_date) #

The end date for retrieving Amazon Web Services cost.

How to use #

Manage this setting using meltano config or an environment variable:

meltano config tap-aws-cost-explorer set end_date <end_date>

export TAP_AWS_COST_EXPLORER_END_DATE=<end_date>

Granularity (granularity) #

Sets the Amazon Web Services cost granularity to MONTHLY or DAILY , or HOURLY.

How to use #

Manage this setting using meltano config or an environment variable:

meltano config tap-aws-cost-explorer set granularity <granularity>

export TAP_AWS_COST_EXPLORER_GRANULARITY=<granularity>

Metrics (metrics) #

Which metrics are returned in the query. Valid values are AmortizedCost, BlendedCost, NetAmortizedCost, NetUnblendedCost, NormalizedUsageAmount, UnblendedCost, and UsageQuantity.

How to use #

Manage this setting using meltano config or an environment variable:

meltano config tap-aws-cost-explorer set metrics '[...]'

export TAP_AWS_COST_EXPLORER_METRICS='[...]'

Looking for help? #

If you're having trouble getting the tap-aws-cost-explorer extractor to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the #plugins-general channel.

Found an issue on this page? #

This page is generated from a YAML file that you can contribute changes to. Edit it on GitHub!