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
// If building block is in FAILED state during deletion, consider it a terminal state
207
207
ifcurrent.Status.Status=="FAILED" {
208
-
returnretry.NonRetryableError(fmt.Errorf("building block %s reached FAILED state during deletion", uuid))
208
+
returnretry.NonRetryableError(fmt.Errorf("building block %s reached FAILED state during deletion. For more details, check the building block run logs in meshStack", uuid))
uuid = "00000000-0000-0000-0000-000000000001" # Replace with actual definition version UUID
63
+
}
64
+
65
+
display_name = "my-tenant-building-block"
66
+
target_ref = {
67
+
kind = "meshTenant"
68
+
uuid = meshstack_tenant_v4.example.metadata.uuid
69
+
}
70
+
71
+
inputs = {
72
+
name = { value_string = "my-name" }
73
+
size = { value_int = 16 }
74
+
}
75
+
}
76
+
}
77
+
```
17
78
18
79
<!-- schema generated by tfplugindocs -->
19
80
## Schema
@@ -24,7 +85,7 @@ Manage a workspace or tenant building block.
24
85
25
86
### Optional
26
87
27
-
-`wait_for_completion` (Boolean) Whether to wait for the Building Block to reach a terminal state (SUCCEEDED or FAILED) before completing the resource creation. If false, the resource creation completes immediately after the Building Block is created. (Defaults to `true`)
88
+
-`wait_for_completion` (Boolean) Whether to wait for the Building Block to reach a terminal state (SUCCEEDED or FAILED) before completing the resource creation or deletion. If false, the resource creation completes immediately after the Building Block is created. (Defaults to `true`)
-`wait_for_completion` (Boolean) Wait for tenant creation/deletion to complete before considering the resource created. Defaults to `true`.
49
+
-`wait_for_completion` (Boolean) Wait for tenant creation/deletion to complete. Note that tenant creation is considered complete when `spec.platformTenantId` is set and not necessarily when replication is finished. Defaults to `true`.
MarkdownDescription: "Whether to wait for the Building Block to reach a terminal state (SUCCEEDED or FAILED) before completing the resource creation. If false, the resource creation completes immediately after the Building Block is created. (Defaults to `true`)",
283
+
MarkdownDescription: "Whether to wait for the Building Block to reach a terminal state (SUCCEEDED or FAILED) before completing the resource creation or deletion. If false, the resource creation completes immediately after the Building Block is created. (Defaults to `true`)",
MarkdownDescription: "Wait for tenant creation/deletion to complete before considering the resource created. Defaults to `true`.",
218
+
MarkdownDescription: "Wait for tenant creation/deletion to complete. Note that tenant creation is considered complete when `spec.platformTenantId` is set and not necessarily when replication is finished. Defaults to `true`.",
0 commit comments