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: docs/resources/app.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ resource "phala_app" "web" {
47
47
-`phala_app` is the main lifecycle resource for Phala Cloud deployments.
48
48
-`replicas` scales one app definition horizontally across multiple CVMs.
49
49
-`docker_compose`, runtime visibility flags, and encrypted environment updates are applied across the app.
50
+
-`instances` exposes the current per-CVM member view without introducing backend-native ordinals.
50
51
-`wait_for_ready = true` waits until the app reports running replicas before returning.
51
52
-`ssh_authorized_keys`, `storage_fs`, placement fields, and deterministic identity inputs can affect replacement behavior; check the schema details below before changing them in-place.
52
53
@@ -92,7 +93,25 @@ resource "phala_app" "web" {
92
93
-`cvm_ids` (List of String) Identifiers of CVMs currently attached to this app.
93
94
-`endpoint` (String) Primary public endpoint URL.
94
95
-`id` (String) Terraform ID (same as app_id).
96
+
-`instances` (Attributes List) Computed per-instance view of CVMs currently attached to this app. (see [below for nested schema](#nestedatt--instances))
95
97
-`primary_cvm_id` (String) Primary CVM identifier used for app-level patch operations.
Copy file name to clipboardExpand all lines: templates/resources/app.md.tmpl
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ description: |-
18
18
- `phala_app` is the main lifecycle resource for Phala Cloud deployments.
19
19
- `replicas` scales one app definition horizontally across multiple CVMs.
20
20
- `docker_compose`, runtime visibility flags, and encrypted environment updates are applied across the app.
21
+
- `instances` exposes the current per-CVM member view without introducing backend-native ordinals.
21
22
- `wait_for_ready = true` waits until the app reports running replicas before returning.
22
23
- `ssh_authorized_keys`, `storage_fs`, placement fields, and deterministic identity inputs can affect replacement behavior; check the schema details below before changing them in-place.
0 commit comments