-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathoutputs.tf
94 lines (76 loc) · 3.19 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
output "cluster_id" {
description = "databricks cluster id"
value = var.deploy_cluster == true ? databricks_cluster.cluster[local.cluster_name].id : null
}
output "cluster_name" {
description = "databricks cluster name"
value = var.deploy_cluster == true ? databricks_cluster.cluster[local.cluster_name].cluster_name : null
}
output "notebook_url" {
description = "databricks notebook url"
value = { for k, v in databricks_notebook.notebook_file : k => v.url }
}
output "notebook_url_standalone" {
description = "databricks notebook url standalone"
value = { for k, v in databricks_notebook.notebook_file_deployment : k => v.url }
}
output "new_cluster_new_job_new_notebooks_job" {
description = "databricks job url"
value = { for k, v in databricks_job.new_cluster_new_job_new_notebooks : k => v.url }
}
output "new_cluster_new_job_new_notebooks_id" {
description = "databricks job id"
value = { for k, v in databricks_job.new_cluster_new_job_new_notebooks : k => v.id }
}
output "existing_cluster_new_job_new_notebooks_job" {
description = "databricks new cluster job url"
value = { for k, v in databricks_job.existing_cluster_new_job_new_notebooks : k => v.url }
}
output "existing_cluster_new_job_new_notebooks_id" {
description = "databricks new cluster job id"
value = { for k, v in databricks_job.existing_cluster_new_job_new_notebooks : k => v.id }
}
output "new_cluster_new_job_existing_notebooks_job" {
description = "databricks job url"
value = { for k, v in databricks_job.new_cluster_new_job_existing_notebooks : k => v.url }
}
output "new_cluster_new_job_existing_notebooks_id" {
description = "databricks job id"
value = { for k, v in databricks_job.new_cluster_new_job_existing_notebooks : k => v.id }
}
output "existing_cluster_new_job_existing_notebooks_job" {
description = "databricks new cluster job url"
value = { for k, v in databricks_job.existing_cluster_new_job_existing_notebooks : k => v.url }
}
output "existing_cluster_new_job_existing_notebooks_id" {
description = "databricks new cluster job id"
value = { for k, v in databricks_job.existing_cluster_new_job_existing_notebooks : k => v.id }
}
output "databricks_secret_acl" {
description = "databricks secret acl"
value = join("", databricks_secret_acl.spectators.*.principal)
}
output "databricks_group" {
description = "databricks group name"
value = join("", databricks_group.this.*.display_name)
}
output "databricks_user" {
description = "databricks user name"
value = join("", databricks_user.users.*.display_name)
}
output "databricks_user_id" {
description = "databricks user id"
value = join("", databricks_user.users.*.id)
}
output "databricks_group_member" {
description = "databricks group members"
value = join("", databricks_group_member.group_members.*.group_id)
}
output "cluster_policy_id" {
description = "databricks cluster policy permissions"
value = join("", databricks_permissions.policy.*.id)
}
output "instance_profile" {
description = "databricks instance profile ARN"
value = join("", databricks_instance_profile.shared.*.instance_profile_arn)
}