databricks / terraform-provider-databricks

Databricks Terraform Provider
https://registry.terraform.io/providers/databricks/databricks/latest
Other
456 stars 393 forks source link

[Internal] Make `Read` after `Create`/`Update` configurable #4190

Closed alexott closed 2 weeks ago

alexott commented 2 weeks ago

Changes

This PR adds the ability for a resource to specify that it may not need to call Read after Create and Update operations so we can avoid performing another API call(s). The resource may implement CanSkipReadAfterCreateAndUpdate function that can decide if the Read operation should be skipped.

I decided to move common part from #4173 to make it easier to review

Tests

github-actions[bot] commented 2 weeks ago

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:

Checks will be approved automatically on success.

eng-dev-ecosystem-bot commented 2 weeks ago

Test Details: go/deco-tests/11668917615