-
Notifications
You must be signed in to change notification settings - Fork 451
Open
Labels
featureNew feature or requestNew feature or request
Description
Use-cases
Access request destinations are now in public preview. The API is also available, would be cool to do this via Terraform as well.
We create all of our schemas and catalogs using TF, using yaml as config layer. We have an 'owner' field for these objects, so would be nice to setup access requests destinations as well.
Attempted Solutions
na
Proposal
catalog level
resource 'databricks_access_request_destinations' 'mycatalog' {
provider = databricks.workspace
catalog = 'mycatalog'
destination {
destination_id = '[email protected]'
destination_type = 'EMAIL'
}
destination {
destination_id = '789e0123-e89b-12d3-a456-426614174002'
destination_type = 'MICROSOFT_TEAMS'
}
destination {
destination_id = 'abcde123-e89b-12d3-a456-426614174003'
destination_type = 'GENERIC_WEBHOOK'
}
destination {
destination_id = '456e7890-e89b-12d3-a456-426614174001'
destination_type = 'SLACK'
}
destination {
destination_id = 'https://www.databricks.com/'
destination_type = 'URL'
}}
}
or schema level
resource 'databricks_access_request_destinations' 'myschema' {
provider = databricks.workspace
schema= 'mycatalog.myschema'
destination {
destination_id = '[email protected]'
destination_type = 'EMAIL'
}
destination {
destination_id = '789e0123-e89b-12d3-a456-426614174002'
destination_type = 'MICROSOFT_TEAMS'
}
destination {
destination_id = 'abcde123-e89b-12d3-a456-426614174003'
destination_type = 'GENERIC_WEBHOOK'
}
destination {
destination_id = '456e7890-e89b-12d3-a456-426614174001'
destination_type = 'SLACK'
}
destination {
destination_id = 'https://www.databricks.com/'
destination_type = 'URL'
}}
}
References
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request