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
Copy file name to clipboardExpand all lines: internal/provider/resource_monitor.go
+1-9Lines changed: 1 addition & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,6 @@ var monitorSchema = map[string]*schema.Schema{
120
120
Description: "Required if monitor_type is set to keyword or udp. We will create a new incident if this keyword is missing on your page.",
121
121
Type: schema.TypeString,
122
122
Optional: true,
123
-
Computed: true,
124
123
},
125
124
"expected_status_codes": {
126
125
Description: "Required if monitor_type is set to expected_status_code. We will create a new incident if the status code returned from the server is not in the list of expected status codes.",
@@ -129,7 +128,6 @@ var monitorSchema = map[string]*schema.Schema{
129
128
Type: schema.TypeInt,
130
129
},
131
130
Optional: true,
132
-
Computed: true,
133
131
},
134
132
"call": {
135
133
Description: "Whether to call when a new incident is created.",
@@ -190,7 +188,6 @@ var monitorSchema = map[string]*schema.Schema{
190
188
" tcp and udp monitors accept any ports, while smtp, pop, and imap accept only the specified ports corresponding with their servers (e.g. \"25,465,587\" for smtp).",
191
189
Type: schema.TypeString,
192
190
Optional: true,
193
-
Computed: true,
194
191
},
195
192
"regions": {
196
193
Description: "An array of regions to set. Allowed values are [\"us\", \"eu\", \"as\", \"au\"] or any subset of these regions.",
@@ -245,7 +242,7 @@ var monitorSchema = map[string]*schema.Schema{
245
242
Description: "HTTP Method used to make a request. Valid options: GET, HEAD, POST, PUT, PATCH",
@@ -291,14 +286,12 @@ var monitorSchema = map[string]*schema.Schema{
291
286
Description: "Basic HTTP authentication username to include with the request.",
292
287
Type: schema.TypeString,
293
288
Optional: true,
294
-
Computed: true,
295
289
Sensitive: true,
296
290
},
297
291
"auth_password": {
298
292
Description: "Basic HTTP authentication password to include with the request.",
299
293
Type: schema.TypeString,
300
294
Optional: true,
301
-
Computed: true,
302
295
Sensitive: true,
303
296
},
304
297
@@ -394,7 +387,6 @@ var monitorSchema = map[string]*schema.Schema{
394
387
Description: "For Playwright monitors, the JavaScript source code of the scenario.",
395
388
Type: schema.TypeString,
396
389
Optional: true,
397
-
Computed: true,
398
390
},
399
391
"scenario_name": {
400
392
Description: "For Playwright monitors, the scenario name identifying the monitor in the UI. For Playwright monitors, either `url` or `scenario_name` must be provided.",
0 commit comments