Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Send only what is required in Update of databricks_credential #4349

Merged
merged 5 commits into from
Jan 7, 2025

Conversation

alexott
Copy link
Contributor

@alexott alexott commented Dec 24, 2024

Changes

This is a workaround for a problem in the API spec - right now, the Update operation tries to send the full struct, although the API accepts only one attribute of that struct. For GCP we should omit the struct completely...

The problem doesn't exist for storage_credential on AWS as it uses the correct structure for the Update request, but problem exists for GCP.

Resolves #4335

Tests

  • make test run locally
  • relevant change in docs/ folder
  • covered with integration tests in internal/acceptance
  • using Go SDK
  • using TF Plugin Framework

@alexott alexott requested review from a team as code owners December 24, 2024 12:32
@alexott alexott requested review from hectorcast-db and removed request for a team December 24, 2024 12:32
@eng-dev-ecosystem-bot
Copy link
Collaborator

Test Details: go/deco-tests/12481744402

@alexott alexott temporarily deployed to test-trigger-is January 7, 2025 10:49 — with GitHub Actions Inactive
@alexott alexott temporarily deployed to test-trigger-is January 7, 2025 10:50 — with GitHub Actions Inactive
@alexott alexott temporarily deployed to test-trigger-is January 7, 2025 11:27 — with GitHub Actions Inactive
@alexott alexott temporarily deployed to test-trigger-is January 7, 2025 11:29 — with GitHub Actions Inactive
@alexott alexott temporarily deployed to test-trigger-is January 7, 2025 11:35 — with GitHub Actions Inactive
@alexott alexott temporarily deployed to test-trigger-is January 7, 2025 11:36 — with GitHub Actions Inactive
Copy link

github-actions bot commented Jan 7, 2025

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/terraform

Inputs:

  • PR number: 4349
  • Commit SHA: a324df55bee10044e4db8e0d47ac1f793279575c

Checks will be approved automatically on success.

Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

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

LGTM, great bias for action!

Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

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

LGTM, great bias for action!

@alexott alexott added this pull request to the merge queue Jan 7, 2025
Merged via the queue into main with commit 01b63ac Jan 7, 2025
14 checks passed
@alexott alexott deleted the issue-4335 branch January 7, 2025 16:14
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.

[ISSUE] Issue with databricks_credential resource: unable to modify
3 participants