terraform-provider-databricks
terraform-provider-databricks copied to clipboard
[ISSUE] Issue with `databricks_share` resource, owner assignment not working
Configuration
resource "databricks_share" "delta_share" {
provider = databricks.workspace
name = var.delta_share_name
owner = var.owner_name
}
var.owner_name is set to the name of our workspace admin group
Expected Behavior
When terraform creates a delta share, the owner of the share should be var.owner_name.
Actual Behavior
The owner is set to our the email/username of our databricks admin.
Steps to Reproduce
Terraform and provider versions
databricks "1.39.0"
Is it a regression?
No, this has never worked.
Debug Output
Important Factoids
Would you like to implement a fix?
I have the same issue. The plan is executed correctly, however on the creation of the resource the owner is set to the entity that the terraform provider is configured with. On the second run the assignment is corrected.