-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathoutputs.tf
104 lines (85 loc) · 2.77 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
95
96
97
98
99
100
101
102
103
104
output "vpc_id" {
description = "vpc id"
value = module.vpc.vpc_id
}
output "vpc_route_table_ids" {
description = "list of VPC route tables IDs"
value = concat(module.vpc.private_route_table_ids, module.vpc.public_route_table_ids)
}
output "vpc_security_group_id" {
description = "list of VPC security group ID"
value = [module.vpc.default_security_group_id]
}
output "vpc_subnet_ids" {
description = "list of subnet ids within VPC"
value = concat(module.vpc.private_subnets, module.vpc.public_subnets)
}
output "iam_role_arn" {
description = "iam role arn"
value = module.iam_role.*.iam_role_arn
}
output "inline_policy_id" {
description = "inline policy id"
value = module.iam_policies.*.inline_policy_id
}
output "s3_bucket_name" {
description = "s3 bucket name"
value = module.s3.bucket_name
}
output "s3_bucket_arn" {
description = "s3 bucket arn"
value = module.s3.bucket_arn
}
output "s3_bucket_id" {
description = "s3 bucket id"
value = module.s3.bucket_id
}
output "databricks_mws_credentials_id" {
description = "databricks mws credentials id"
value = databricks_mws_credentials.this
}
output "databricks_mws_network_id" {
description = "databricks mws network id"
value = databricks_mws_networks.this.network_name
}
output "databricks_mws_storage_id" {
description = "databricks mws storage id"
value = databricks_mws_storage_configurations.this
}
output "databricks_mws_storage_bucket_name" {
description = "databricks mws storage bucket name"
value = databricks_mws_storage_configurations.this.bucket_name
}
output "databricks_host" {
description = "databricks hostname"
value = databricks_mws_workspaces.this.workspace_name
}
output "databricks_credentials_id" {
description = "databricks credentials id"
value = databricks_mws_workspaces.this.credentials_id
}
output "databricks_deployment_name" {
description = "databricks deployment name"
value = databricks_mws_workspaces.this.deployment_name
}
output "storage_configuration_id" {
description = "databricks storage configuration id"
value = databricks_mws_workspaces.this.storage_configuration_id
}
output "workspace_url" {
description = "databricks workspace url"
value = databricks_mws_workspaces.this
}
output "databricks_token" {
description = "Value of the newly created token"
value = databricks_token.pat.token_value
sensitive = true
}
output "nonsensitive_databricks_token" {
description = "Value of the newly created token (nonsensitive)"
value = nonsensitive(databricks_token.pat.token_value)
}
output "databricks_token_lifetime_hours" {
description = "Token validity"
value = databricks_token.pat.lifetime_seconds / 3600
}