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
-`connection_timeout` (Number) The timeout for stablishing a new TCP connection in milliseconds
53
78
-`consecutive_successes` (Number) Number of consecutive successes required before the check is considered successful overall. Defaults to 1.
54
79
-`create_anyway_on_check_failure` (Boolean) If false, the resource will fail to create if the check does not pass. If true, the resource will be created anyway. Defaults to false.
80
+
-`expect_write_failure` (Boolean) Wether or not the check is expected to fail after successfully connecting to the target. If true, the check will be considered successful if it fails. Defaults to false.
81
+
-`expected_message` (String) The message expected to be included in the echo response
55
82
-`interval` (Number) Interval in milliseconds between attemps. Default 200
56
83
-`keepers` (Map of String) Arbitrary map of string values that when changed will cause the check to run again.
57
84
-`single_attempt_timeout` (Number) Timeout for an individual attempt. If exceeded, the attempt will be considered failure and potentially retried. Default 5000ms
MarkdownDescription: "The message expected to be included in the echo response",
69
-
Required: true,
71
+
Required: false,
72
+
Optional: true,
73
+
Computed: true,
74
+
Default: stringdefault.StaticString(""),
75
+
},
76
+
"expect_write_failure": schema.BoolAttribute{
77
+
MarkdownDescription: "Wether or not the check is expected to fail after successfully connecting to the target. If true, the check will be considered successful if it fails. Defaults to false.",
78
+
Required: false,
79
+
Optional: true,
80
+
Computed: true,
81
+
Default: booldefault.StaticBool(false),
70
82
},
71
83
"timeout": schema.Int64Attribute{
72
84
MarkdownDescription: "Overall timeout in milliseconds for the check before giving up, default 10000",
@@ -125,6 +137,7 @@ type TCPEchoResourceModel struct {
0 commit comments