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

[ISSUE] Issue with databricks_share resource #4041

Open
forma-wolf opened this issue Sep 23, 2024 · 0 comments
Open

[ISSUE] Issue with databricks_share resource #4041

forma-wolf opened this issue Sep 23, 2024 · 0 comments

Comments

@forma-wolf
Copy link

forma-wolf commented Sep 23, 2024

Configuration

resource "databricks_share" "databricks_share" {
  provider = databricks.workspace

  for_each = ...


  name = ...
  object {
    name                        = ...
    data_object_type            = "SCHEMA"
    history_data_sharing_status = "ENABLED"
  }
}

Expected Behavior

STRING_SHARED_AS under the object config was auto set prior, now is a new property undocumented (ISSUE 1 being undocumented) and simply takes name of schema you are sharing if I don't set it.

If I don't set it, shouldn't come up as diff in terraform (ISSUE 2). Terraform provider always trying to set it. Its undocumented in your docs too.

Actual Behavior

There is always a diff in resource when not setting this parameter.

Steps to Reproduce

Obvious, don't set string_shared_as in resource

Terraform and provider versions

Latest version

Is it a regression?

Yes

Debug Output

Important Factoids

No

Would you like to implement a fix?

No.

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

No branches or pull requests

1 participant