Skip to content

APIE-813: Add GCP support for connect artifact resource#950

Open
Himanshu Singla (hisingla12) wants to merge 1 commit intomasterfrom
enable-connect-artifact-gcp
Open

APIE-813: Add GCP support for connect artifact resource#950
Himanshu Singla (hisingla12) wants to merge 1 commit intomasterfrom
enable-connect-artifact-gcp

Conversation

@hisingla12
Copy link
Member

@hisingla12 Himanshu Singla (hisingla12) commented Feb 28, 2026

Release Notes

New Features

  • Enabled connect artifact uploads for GCP regions

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 have included appropriate Terraform live testing 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 enables connect artifact (custom SMT) uploads to GCP regions.

Changes:

  • Added GCP tests for connect artifacts:

    • Unit test: resource_connect_artifact_gcp_test.go
    • Live test: TestAccConnectArtifactGCPLive
    • Test data files with GCP-specific responses
  • Updated documentation to include GCP as an accepted cloud provider value:

    • docs/data-sources/confluent_connect_artifact.md
    • docs/resources/confluent_connect_artifact.md

Why:

  • Enables CSMT in GCP

Note: CSMT GCP is currently in pre-prod only and not yet enabled in production. The live tests in CI (which run against prod) will fail until the prod release. This PR will be merged after the prod release. Live test results from staging are attached below.

Blast Radius

Low risk - No changes to upload logic. GCP upload uses the same presigned URL flow as AWS.

Potential Impact:

  • No impact to existing AWS or Azure connect/flink artifact uploads

References

https://confluentinc.atlassian.net/browse/APIE-813

Test & Review

All unit and acceptance tests pass for AWS, Azure, and GCP.

  1. Artifact Upload (Staging)

    • Created connect artifacts with cloud = "GCP", cloud = "AWS", cloud = "AZURE"
    • JAR file: InsertUuid-1.0-SNAPSHOT.jar (custom SMT)
    • Status: Successfully uploaded and provisioned on all three CSPs
    • Connectors created and running successfully on all three CSPs
    • Screenshot 2026-02-28 at 2 05 48 PM
  2. Unit Test Results

    • TestAccConnectArtifactGCP - PASS
    • Screenshot 2026-02-28 at 2 38 21 PM
  3. Live Test Results (Staging)

    • Live tests ran against staging (https://api.stag.cpdev.cloud) with CONFLUENT_CLOUD_ENVIRONMENT_ID=env-stgconzx9p
    • All three CSPs (AWS, Azure, GCP) passed including create, import, and destroy steps
    • Screenshot 2026-02-28 at 4 24 07 PM

- Add GCP static test and test data files
- Add GCP live test (TestAccConnectArtifactGCPLive)
- Update docs to include GCP as accepted cloud provider value

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 28, 2026 08:57
@hisingla12 Himanshu Singla (hisingla12) changed the title Add GCP support for connect artifact resource Enable connect artifact uploads for GCP regions Feb 28, 2026
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

Adds Google Cloud Platform (GCP) coverage for the confluent_connect_artifact resource by introducing Wiremock test fixtures + a new acceptance test, and updating user documentation to list GCP as an allowed cloud value.

Changes:

  • Added GCP Wiremock test data (presigned URL + create/read responses) for connect artifact lifecycle tests.
  • Added a new Wiremock-based GCP acceptance test and a new live acceptance test TestAccConnectArtifactGCPLive.
  • Updated resource and data source docs to include GCP as an accepted cloud value.

Reviewed changes

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

Show a summary per file
File Description
internal/testdata/connect_artifact/read_presigned_url_gcp.json Adds GCP presigned upload URL fixture for tests.
internal/testdata/connect_artifact/read_created_artifact_gcp.json Adds GCP “READY” read-response fixture for tests.
internal/testdata/connect_artifact/create_artifact_gcp.json Adds GCP “PROCESSING” create-response fixture for provisioning flow tests.
internal/provider/resource_connect_artifact_live_test.go Adds GCP live acceptance test coverage.
internal/provider/resource_connect_artifact_gcp_test.go Adds Wiremock-based GCP acceptance test for resource lifecycle + import.
docs/resources/confluent_connect_artifact.md Documents GCP as an accepted cloud argument value for the resource.
docs/data-sources/confluent_connect_artifact.md Documents GCP as an accepted cloud argument value for the data source.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hisingla12 Himanshu Singla (hisingla12) changed the title Enable connect artifact uploads for GCP regions APIE-813: Add GCP support for connect artifact resource Feb 28, 2026
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