Skip to content

[datadog_team_sync] Add datadog_team_sync and datadog_team_connection resources#3626

Open
gabrielgiordano wants to merge 1 commit intomasterfrom
gabriel.batista/add-connections-and-sync-resources
Open

[datadog_team_sync] Add datadog_team_sync and datadog_team_connection resources#3626
gabrielgiordano wants to merge 1 commit intomasterfrom
gabriel.batista/add-connections-and-sync-resources

Conversation

@gabrielgiordano
Copy link
Copy Markdown

@gabrielgiordano gabrielgiordano commented Mar 19, 2026

Summary

Adds two new Terraform resources for the Teams platform:

  • datadog_team_connection — manages connections between a Datadog team and an external team (e.g. GitHub). All fields force replacement since connections are immutable.
  • datadog_team_sync — configures team synchronization from external sources (e.g. GitHub) into Datadog. Supports link and provision modes, membership sync, and scoping via selection_state. Deletion pauses the sync rather than removing it, since the API has no hard-delete.

Both resources use the Terraform Plugin Framework, include import support, and have acceptance tests with recorded cassettes.

@gabrielgiordano gabrielgiordano requested review from a team as code owners March 19, 2026 14:19
@gabrielgiordano gabrielgiordano changed the title [OMG-709] Add datadog_team_connection and datadog_team_sync resources [datadog_team_connection][datadog_team_sync] Add datadog_team_connection and datadog_team_sync resources Mar 19, 2026
@gabrielgiordano gabrielgiordano changed the title [datadog_team_connection][datadog_team_sync] Add datadog_team_connection and datadog_team_sync resources Add datadog_team_connection and datadog_team_sync resources Mar 19, 2026
@gabrielgiordano gabrielgiordano changed the title Add datadog_team_connection and datadog_team_sync resources [draft] Add datadog_team_connection and datadog_team_sync resources Mar 19, 2026
### Optional

- `connected_team` (Block, Optional) The external connected team reference (e.g. a GitHub team). (see [below for nested schema](#nestedblock--connected_team))
- `managed_by` (String) Who manages this connection.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to "leave out" this managed by field from the provider for now? To avoid terraforming weird values we need to clean up or figure out later?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(like we talked about earlier today)

Introduce two new Terraform resources for managing team connections
and team sync configurations, with acceptance tests and example files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gabrielgiordano gabrielgiordano force-pushed the gabriel.batista/add-connections-and-sync-resources branch from e458b4f to 5ece1a8 Compare April 6, 2026 14:07
@gabrielgiordano gabrielgiordano changed the title [draft] Add datadog_team_connection and datadog_team_sync resources Add datadog_team_connection and datadog_team_sync resources Apr 6, 2026
@gabrielgiordano gabrielgiordano changed the title Add datadog_team_connection and datadog_team_sync resources [datadog_team_sync][datadog_team_connection] Add datadog_team_connection and datadog_team_sync resources Apr 6, 2026
@gabrielgiordano gabrielgiordano changed the title [datadog_team_sync][datadog_team_connection] Add datadog_team_connection and datadog_team_sync resources [datadog_team_sync, datadog_team_connection] Add resources Apr 6, 2026
@gabrielgiordano gabrielgiordano changed the title [datadog_team_sync, datadog_team_connection] Add resources [datadog_team_sync] Add datadog_team_sync and datadog_team_connection resources Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants