Skip to content

APIE-52: Add confluent_parent data source, confluent_parent_organization_link, confluent_parent_sso resources#715

Open
Kostya Linou (linouk23) wants to merge 2 commits intomasterfrom
apie-52
Open

APIE-52: Add confluent_parent data source, confluent_parent_organization_link, confluent_parent_sso resources#715
Kostya Linou (linouk23) wants to merge 2 commits intomasterfrom
apie-52

Conversation

@linouk23
Copy link
Contributor

@linouk23 Kostya Linou (linouk23) commented Jun 12, 2025

Release Notes

New Features

  • Added confluent_parent data source, confluent_parent_organization_link, confluent_parent_sso resources in Early Access lifecycle stage.

Examples

  • Given that these workflows can't be fully executed just via TF, we'll reference the regular docs link instead, one the feature team shares it.

Checklist

  • I can successfully build and use a custom Terraform provider binary for Confluent.
  • I have verified my PR with real Confluent Cloud resources in a pre-prod or production environment, or both.
  • I have attached manual Terraform verification results or screenshots in the Test & Review section below.
  • I have included appropriate Terraform acceptance or unit tests for any new resource, data source, or functionality.
  • I confirm that this PR introduces no breaking changes or backward compatibility issues.
  • I have updated the corresponding documentation and include relevant examples for this PR.
  • I have indicated the potential customer impact if something goes wrong in the Blast Radius section below.
  • I have put checkmarks below confirming that the feature associated with this PR is enabled in:
    • Confluent Cloud prod
    • Confluent Cloud stag
    • Check this box if the feature is enabled for certain organizations only

What

This PR adds confluent_parent data source, confluent_parent_organization_link, confluent_parent_sso resources.

TODO: add corresponding TF docs.

Blast Radius

Existing resources won't be impacted as we're adding new resources.

References

Test & Review

@sonarqube-confluent

This comment has been minimized.

@sonarqube-confluent

This comment has been minimized.

@sonarqube-confluent

This comment has been minimized.

* add confluent_organization_parent_link resource.
* add confluent_parent data source
@sonarqube-confluent

This comment has been minimized.

@linouk23 Kostya Linou (linouk23) changed the title APIE-52: Add confluent_parent data source APIE-52: Add confluent_parent data source, confluent_parent_organization_link, confluent_parent_sso resources Jun 18, 2025
@sonarqube-confluent
Copy link

Passed

Analysis Details

1 Issue

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 1 Code Smell

Coverage and Duplications

  • Coverage 83.30% Coverage (79.80% Estimated after merge)
  • Duplications No duplication information (0.20% Estimated after merge)

Project ID: terraform-provider-confluent

View in SonarQube

@linouk23 Kostya Linou (linouk23) marked this pull request as ready for review June 30, 2025 22:17
Copilot AI review requested due to automatic review settings June 30, 2025 22:17
@linouk23 Kostya Linou (linouk23) requested a review from a team as a code owner June 30, 2025 22:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces new resources and data sources for managing Confluent “Parent” entities: Parent SSO, Parent Organization Link, and Parent. It adds the corresponding acceptance tests, test data JSON files, and updates provider configuration along with necessary dependency updates.

Reviewed Changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
internal/testdata/parent_sso/*.json New test data for Parent SSO resource (created, updated, deleted).
internal/testdata/parent_organization_link/*.json New test data for Parent Organization Link resource.
internal/testdata/parent/*.json New test data for Parent data source.
internal/provider/utils.go Updated to import and use the new Parent API client.
internal/provider/resource_parent_sso*.go Added Parent SSO resource implementation with Create, Read, Update, Delete and its tests.
internal/provider/resource_parent_organization_link*.go Added Parent Organization Link resource implementation with Create, Read, Delete and its tests.
internal/provider/data_source_parent*.go Added Parent data source implementation and its tests.
internal/provider/data_source_parent_organization_link*.go Added Parent Organization Link data source implementation and its tests.
internal/provider/provider.go Updated to add new resources and data sources, configure Parent API client, and update go.mod.
go.mod Updated with new dependency for Parent API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants