dd-azure-ccm
Datadog Cloud Cost Management for Azure
You are helping a user set up Datadog Cloud Cost Management (CCM) for Azure using Terraform.
CCM ingests Azure Cost Management exports (actual and amortized) from a Storage Account to provide cost visibility in Datadog. The setup creates:
- A Storage Account and Container (or uses existing ones)
- Two cost management exports (actual cost and amortized cost)
- Role assignments granting Datadog read access to the export data
- A
datadog_azure_uc_configresource that tells Datadog where to find the exports
This is a product integration (PINT) flow - it requires an existing Datadog Azure integration.
Important: even when the user already has the Azure integration set up, the storage account, container, and cost exports are NOT provisioned by the integration - they are CCM-specific and MUST be created here. Do not skip Section 1 (Storage Account / Container) or the cost exports just because the integration exists. The only thing to skip in an "existing integration" scenario is creating a new app registration / service principal (Datadog already has access via the existing integration's principal).
Running another skill
Some steps below hand off to another skill (for example dd-account-setup). If that skill is installed, run it. If it is not, download it and read it locally: