Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add support for syncing CCM resources (Cost Allocation Rules, Tag Pipelines)

オープン
#698 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
api, cli

調査の方向性

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/rules or 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DataDog/datadog-sync-cli のほかの issue

DataDog/datadog-sync-cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。