Skip to content

Add google_cloud_support_support_event_subscription resource#18377

Open
crsales963 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
crsales963:add-cloudsupport-subscription
Open

Add google_cloud_support_support_event_subscription resource#18377
crsales963 wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
crsales963:add-cloudsupport-subscription

Conversation

@crsales963

@crsales963 crsales963 commented Jul 23, 2026

Copy link
Copy Markdown

Add google_cloud_support_support_event_subscription resource to manage Cloud Support API event subscriptions.

Reference Issue: b/512502308

TESTS:

  • TestAccCloudSupportSupportEventSubscription_cloudSupportEventSubscriptionBasicExample
  • TestAccCloudSupportSupportEventSubscription_cloudSupportEventSubscriptionUpdateExample

REQUIREMENTS FOR TESTING:

  • Support Subscription Editor (roles/cloudsupport.subscriptionEditor) granted on testing account on the organization level
  • Project with cloudsupport.googleapis.com enabled
  • Pub/Sub topic on project with CSAPI enabled
  • Pub/Sub Publisher (roles/pubsub.publisher) granted to cloud-support-apievents@system.gserviceaccount.com on Pub/Sub topic
`google_cloud_support_support_event_subscription`: added `google_cloud_support_support_event_subscription` resource

@github-actions

Copy link
Copy Markdown

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@github-actions
github-actions Bot requested a review from slevenick July 23, 2026 22:35
@modular-magician

modular-magician commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 5b4e028:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 12 files changed, 1187 insertions(+)
google-beta provider View Diff 12 files changed, 1187 insertions(+)
terraform-google-conversion View Diff 3 files changed, 161 insertions(+)

Missing service labels

The following new resources do not have corresponding service labels:

  • google_cloud_support_support_event_subscription

If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels.
An override-missing-service-label label can be added to allow merging.

Test report

Analytics

Total Tests Passed Skipped Affected
6840 6122 705 13
Affected Service Packages
  • All service packages are affected

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 13 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccCloudSupportSupportEventSubscription_cloudSupportEventSubscriptionBasicExample
  • TestAccCloudSupportSupportEventSubscription_cloudSupportEventSubscriptionUpdateExample
  • TestAccComputeInstanceFromMachineImage_diffProject
  • TestAccComputeRouterPeer_AddMd5AuthenticationKey
  • TestAccComputeSecurityPolicy_withPreconfiguredWafConfig
  • TestAccContainerCluster_regionalWithNodePool
  • TestAccContainerNodePool_withHostMaintenancePolicy
  • TestAccDataformConfig_update
  • TestAccDataprocMetastoreService_dataprocMetastoreServicePrivateServiceConnectExample
  • TestAccDiscoveryEngineDataStore_discoveryengineDatastoreKmsKeyNameExample
  • TestAccManagedKafkaConnector_managedkafkaConnectorBasicExample
  • TestAccProjectIamMemberRemove_memberInMultipleBindings
  • TestAccPubsubSubscription_pubsubSubscriptionTagsExample

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
✅ Log TestAccComputeRouterPeer_AddMd5AuthenticationKey
✅ Log ❌ Error · Log TestAccDataformConfig_update
✅ Log ❌ Error · Log TestAccProjectIamMemberRemove_memberInMultipleBindings
❌ Error · Log - TestAccCloudSupportSupportEventSubscription_cloudSupportEventSubscriptionBasicExample
❌ Error · Log - TestAccCloudSupportSupportEventSubscription_cloudSupportEventSubscriptionUpdateExample
❌ Error · Log - TestAccComputeInstanceFromMachineImage_diffProject
❌ Error · Log - TestAccComputeSecurityPolicy_withPreconfiguredWafConfig
❌ Error · Log - TestAccContainerCluster_regionalWithNodePool
❌ Error · Log - TestAccContainerNodePool_withHostMaintenancePolicy
❌ Error · Log - TestAccDataprocMetastoreService_dataprocMetastoreServicePrivateServiceConnectExample
❌ Error · Log - TestAccDiscoveryEngineDataStore_discoveryengineDatastoreKmsKeyNameExample
❌ Error · Log - TestAccManagedKafkaConnector_managedkafkaConnectorBasicExample
❌ Error · Log - TestAccPubsubSubscription_pubsubSubscriptionTagsExample

Caution

Issues requiring attention before PR completion

🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details.

🔴 Replaying Rerun Failed: Some tests failed due to non-determinism when VCR replayed the response. See the table above for details.

Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer.

View the recording VCR build log or the debug logs folder for detailed results.

@crsales963, @slevenick VCR tests complete for 5b4e028!

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.

3 participants