@@ -50,30 +50,30 @@ func Provider(version string) terraform.ResourceProvider {
5050 "databricks_mws_workspaces" : resourceMWSWorkspaces (),
5151 },
5252 Schema : map [string ]* schema.Schema {
53- "host" : & schema. Schema {
53+ "host" : {
5454 Type : schema .TypeString ,
5555 Optional : true ,
5656 DefaultFunc : schema .EnvDefaultFunc ("DATABRICKS_HOST" , nil ),
5757 },
58- "token" : & schema. Schema {
58+ "token" : {
5959 Type : schema .TypeString ,
6060 Optional : true ,
6161 Sensitive : true ,
6262 DefaultFunc : schema .EnvDefaultFunc ("DATABRICKS_TOKEN" , nil ),
6363 ConflictsWith : []string {"basic_auth" },
6464 },
65- "basic_auth" : & schema. Schema {
65+ "basic_auth" : {
6666 Type : schema .TypeList ,
6767 Optional : true ,
6868 MaxItems : 1 ,
6969 Elem : & schema.Resource {
7070 Schema : map [string ]* schema.Schema {
71- "username" : & schema. Schema {
71+ "username" : {
7272 Type : schema .TypeString ,
7373 Required : true ,
7474 DefaultFunc : schema .EnvDefaultFunc ("DATABRICKS_USERNAME" , nil ),
7575 },
76- "password" : & schema. Schema {
76+ "password" : {
7777 Type : schema .TypeString ,
7878 Sensitive : true ,
7979 Required : true ,
@@ -83,7 +83,7 @@ func Provider(version string) terraform.ResourceProvider {
8383 },
8484 ConflictsWith : []string {"token" },
8585 },
86- "config_file" : & schema. Schema {
86+ "config_file" : {
8787 Type : schema .TypeString ,
8888 Optional : true ,
8989 DefaultFunc : schema .EnvDefaultFunc ("DATABRICKS_CONFIG_FILE" , "~/.databrickscfg" ),
@@ -92,14 +92,14 @@ func Provider(version string) terraform.ResourceProvider {
9292 "in ~/.databrickscfg. Check https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication for docs. Config\n " +
9393 "file credetials will only be used when host/token are not provided." ,
9494 },
95- "profile" : & schema. Schema {
95+ "profile" : {
9696 Type : schema .TypeString ,
9797 Optional : true ,
9898 Default : "DEFAULT" ,
9999 Description : "Connection profile specified within ~/.databrickscfg. Please check\n " +
100100 "https://docs.databricks.com/dev-tools/cli/index.html#connection-profiles for documentation." ,
101101 },
102- "azure_auth" : & schema. Schema {
102+ "azure_auth" : {
103103 Type : schema .TypeMap ,
104104 Optional : true ,
105105 Elem : & schema.Resource {
0 commit comments