The Terraform databricks_metastore and databricks_mws_storage_configurations resource block unable to provide IAM role ARN for S3 access. This had led to issues with mounting the DBFS for storage purposes, as well as pertinent caching issues with the metastore due to the lack of IAM role ARN provided during configuration of the storage configuration.
databricks_metastore missing IAM role ARN field in Terraform - however available in UI
databricks_mws_storage_configurations missing IAM role ARN field in Terraform - however available in UI
User should be able to enter a IAM role ARN in the databricks_metastore and databricks_mws_storage_configurations Terraform resource blocks.
Actual Behavior
User is not given the option to enter the IAM role ARN in the databricks_metastore and databricks_mws_storage_configurations Terraform resource blocks.
Configuration
https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/storage_credential https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/mws_workspaces
The Terraform
databricks_metastore
anddatabricks_mws_storage_configurations
resource block unable to provide IAM role ARN for S3 access. This had led to issues with mounting the DBFS for storage purposes, as well as pertinent caching issues with the metastore due to the lack of IAM role ARN provided during configuration of the storage configuration.databricks_metastore
missing IAM role ARN field in Terraform - however available in UIdatabricks_mws_storage_configurations
missing IAM role ARN field in Terraform - however available in UIExpected Behavior
User should be able to enter a IAM role ARN in the
databricks_metastore
anddatabricks_mws_storage_configurations
Terraform resource blocks.Actual Behavior
User is not given the option to enter the IAM role ARN in the
databricks_metastore
anddatabricks_mws_storage_configurations
Terraform resource blocks.Steps to Reproduce
Terraform v1.46.0 (latest as of writing)
Is it a regression?
No
Debug Output
NA
Important Factoids
NA
Would you like to implement a fix?
KIV