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
> **NOTE**: [Write-only arguments](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments) are supported in Terraform 1.11 and later.
32
+
31
33
-`enabled` (Boolean) enables or disables sending webhooks. Defaults to `true`.
32
34
-`module_id` (String) ID of the module which triggers the webhooks
33
35
-`retry_on_failure` (Boolean) whether to retry the webhook in case of failure. Defaults to `false`.
34
-
-`secret` (String, Sensitive) secret used to sign each POST request so you're able to verify that the request comes from us. Defaults to an empty value. Note that once it's created, it will be just an empty string in the state due to security reasons.
36
+
-`secret` (String, Sensitive, Deprecated) secret used to sign each POST request so you're able to verify that the request comes from us. Defaults to an empty value. Note that once it's created, it will be just an empty string in the state due to security reasons.
37
+
-`secret_wo` (String, Sensitive, [Write-only](https://developer.hashicorp.com/terraform/language/resources/ephemeral#write-only-arguments)) `secret_wo` used to sign each POST request so you're able to verify that the request comes from us. Defaults to an empty value. The secret_wo is not stored in the state. Modify secret_wo_version to trigger an update. This field requires Terraform/OpenTofu 1.11+.
38
+
-`secret_wo_version` (String) Used together with secret_wo to trigger an update to the secret. Increment this value when an update to secret_wo is required. This field requires Terraform/OpenTofu 1.11+.
35
39
-`stack_id` (String) ID of the stack which triggers the webhooks
Description: "`secret_wo` used to sign each POST request so you're able to verify that the request comes from us. Defaults to an empty value. The secret_wo is not stored in the state. Modify secret_wo_version to trigger an update. This field requires Terraform/OpenTofu 1.11+.",
88
+
Sensitive: true,
89
+
Optional: true,
90
+
WriteOnly: true,
91
+
ConflictsWith: []string{"secret"},
92
+
RequiredWith: []string{"secret_wo_version"},
93
+
},
94
+
"secret_wo_version": {
95
+
Type: schema.TypeString,
96
+
Description: "Used together with secret_wo to trigger an update to the secret. Increment this value when an update to secret_wo is required. This field requires Terraform/OpenTofu 1.11+.",
97
+
Optional: true,
98
+
ForceNew: true,
99
+
ConflictsWith: []string{"secret"},
100
+
RequiredWith: []string{"secret_wo"},
101
+
},
102
+
83
103
"stack_id": {
84
104
Type: schema.TypeString,
85
105
Description: "ID of the stack which triggers the webhooks",
0 commit comments