You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -43,6 +44,8 @@ var resourceSchema = resource_schema.Schema{
43
44
},
44
45
"user": resource_schema.StringAttribute{
45
46
Optional: true,
47
+
Computed: true,
48
+
Default: stringdefault.StaticString(""),
46
49
Description: "The username of the Fabric account to connect to. Only used when connection with AD user/pass",
47
50
Validators: []validator.String{
48
51
conflictingFieldsValidator{
@@ -53,6 +56,8 @@ var resourceSchema = resource_schema.Schema{
53
56
"password": resource_schema.StringAttribute{
54
57
Optional: true,
55
58
Sensitive: true,
59
+
Computed: true,
60
+
Default: stringdefault.StaticString(""),
56
61
Description: "The password for the account to connect to. Only used when connection with AD user/pass",
57
62
Validators: []validator.String{
58
63
conflictingFieldsValidator{
@@ -62,6 +67,8 @@ var resourceSchema = resource_schema.Schema{
62
67
},
63
68
"tenant_id": resource_schema.StringAttribute{
64
69
Optional: true,
70
+
Computed: true,
71
+
Default: stringdefault.StaticString(""),
65
72
Description: "The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.",
66
73
Validators: []validator.String{
67
74
conflictingFieldsValidator{
@@ -70,7 +77,9 @@ var resourceSchema = resource_schema.Schema{
70
77
},
71
78
},
72
79
"client_id": resource_schema.StringAttribute{
80
+
Computed: true,
73
81
Optional: true,
82
+
Default: stringdefault.StaticString(""),
74
83
Description: "The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.",
75
84
Validators: []validator.String{
76
85
conflictingFieldsValidator{
@@ -80,7 +89,9 @@ var resourceSchema = resource_schema.Schema{
80
89
},
81
90
"client_secret": resource_schema.StringAttribute{
82
91
Optional: true,
92
+
Computed: true,
83
93
Sensitive: true,
94
+
Default: stringdefault.StaticString(""),
84
95
Description: "The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.",
85
96
Validators: []validator.String{
86
97
conflictingFieldsValidator{
@@ -94,6 +105,8 @@ var resourceSchema = resource_schema.Schema{
0 commit comments