Skip to content

Commit bd3e60e

Browse files
committed
updating readme
1 parent a903575 commit bd3e60e

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed
2.31 KB
Loading

examples/sample/outputs.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ output "databricks_deployment_name" {
3838
value = module.databricks_workspace.databricks_deployment_name
3939
}
4040

41+
/*
4142
output "pat_token" {
4243
description = "databricks pat"
4344
value = module.databricks_workspace.pat_token
@@ -47,3 +48,4 @@ output "pat_token_duration" {
4748
description = "databricks pat"
4849
value = module.databricks_workspace.pat_token_duration
4950
}
51+
*/

outputs.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ output "workspace_url" {
7373
value = databricks_mws_workspaces.this
7474
}
7575

76+
/*
7677
output "pat_token" {
7778
description = "databricks pat"
7879
value = databricks_token.pat.id
@@ -82,3 +83,4 @@ output "pat_token_duration" {
8283
description = "databricks pat"
8384
value = databricks_token.pat.lifetime_seconds
8485
}
86+
*/

pat_token.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/resources/token
33
*/
44
resource "databricks_token" "pat" {
5-
provider = databricks.created_workspace
6-
comment = "Terraform managed: ${var.teamid}-${var.prjid}"
5+
provider = databricks.created_workspace
6+
comment = "Terraform managed: ${var.teamid}-${var.prjid}"
77
lifetime_seconds = 86400
88
}
9-

0 commit comments

Comments
 (0)