Add support for syncing CCM resources (Cost Allocation Rules, Tag Pipelines)
まだ誰も着手していません。
評価
調査の方向性
Start by comparing the existing dashboard, monitor, and logs-pipeline sync implementations and how they use the diff/dependency workflow. Review the Datadog endpoints /api/v2/cost/allocation/rules and /api/v2/tags/enrichment, then define support for the two listed resource types. Done means both resources can be replicated between organizations through the CLI.
索引モデルが issue の本文から書いたものです。
説明
Feature request
Currently datadog-sync-cli does not support syncing Cloud Cost Management (CCM) configuration resources across organizations. This includes:
- Custom Allocation Rules (
/api/v2/cost/allocation/rulesor equivalent) - Tag Pipeline Rulesets (
/api/v2/tags/enrichment) - Possibly other CCM artifacts (e.g. cost budgets, cost tag configurations)
Use case
As a Technical Account Manager managing multi-org enterprise customers (parent/child org structures), I regularly need to replicate CCM configuration — Allocation Rules and Tag Pipelines — from a source org to one or more destination orgs. Today this has to be done manually via the API, resource by resource, which does not scale well across many child orgs and is error-prone compared to the diff/sync workflow the tool already provides for other resource types (dashboards, monitors, logs pipelines, etc.).
Proposed resources
| Resource | API endpoint | Notes |
|---|---|---|
cost_allocation_rules |
GET/POST /api/v2/cost/allocation/rules |
Custom Allocation Rules |
tag_pipeline_rulesets |
GET/POST /api/v2/tags/enrichment |
Tag Pipelines |
Both are manageable via Terraform today (datadog_cloud_cost_management_* resources), so the underlying CRUD semantics should already be well defined.
Alternative considered
Doing this via direct API calls per organization — works but doesn't scale for TAMs managing many child orgs, and loses the diff/dependency-tracking benefits datadog-sync provides for other resource types.
Happy to provide more context or test against a real multi-org customer setup if useful.
- 主要言語
- Python
- スター
- 79
- フォーク
- 26
- 平均マージ
- 22時間 1分
- マージ済み PR(30日)
- 25
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DataDog/datadog-sync-cli のほかの issue
-
CCM Resources オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
DataDog/datadog-sync-cli#697 ·
-
All security_monitoring_rules fail to sync: cases.condition is stripped from the create payload オープン
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
DataDog/datadog-sync-cli#598 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
DataDog/datadog-sync-cli#597 · コメント 1 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
DataDog/datadog-sync-cli#501 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
DataDog/datadog-sync-cli#353 ·
DataDog/datadog-sync-cli の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·