Skip to content

Commit a139c43

Browse files
authored
Merge pull request #11 from Phala-Network/release/v0.2.0-beta.4
chore(release): cut 0.2.0-beta.4
2 parents 438199d + ad1a735 commit a139c43

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ All notable changes to `terraform-provider-phala` are documented in this file.
44

55
## [Unreleased]
66

7+
## [0.2.0-beta.4] - 2026-05-17
8+
9+
### Added
10+
11+
- New `phala_app_preflight` resource and `phala_app_preflight` data source for computing Phala Cloud app preflight metadata, including `compose_hash`, without deploying an app.
12+
- `phala_app.instances` now exposes per-instance app state so multi-replica apps can report individual CVM IDs, VM UUIDs, endpoints, regions, instance types, and statuses.
13+
14+
### Changed
15+
16+
- `phala_app.compose_hash` now refreshes from the same app definition used by preflight so deployed app state can be compared directly with preflight output.
17+
718
## [0.2.0-beta.3] - 2026-05-03
819

920
### Fixed

FEATURE_MATURITY.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Terraform Provider Feature Maturity
22

3-
Last updated: 2026-03-08
3+
Last updated: 2026-05-17
44

55
## Maturity Levels
66

@@ -13,6 +13,7 @@ Last updated: 2026-03-08
1313
| Component | Level | Status | Notes |
1414
| --- | --- | --- | --- |
1515
| `phala_app` | beta | create/read/update/delete + replica scaling | Sole lifecycle resource: shared app-compose + env with N CVM replicas under one app_id. |
16+
| resource `phala_app_preflight` | beta | create/read/delete | Computes preflight app metadata, including `compose_hash`, without deploying CVMs. |
1617
| `phala_cvm_power` | beta | running/stopped state management | Separate action-style power control works; delete is state-only by design. |
1718
| `phala_ssh_key` | beta | create/read/delete | DO-style key lifecycle. |
1819
| `phala_account` | beta | read | Returns user/workspace linkage + credits. |
@@ -22,12 +23,15 @@ Last updated: 2026-03-08
2223
| `phala_images` | beta | read | Catalog data source. |
2324
| `phala_nodes` | beta | read | Node catalog for placement (`node_id`) with optional region/on-chain-KMS filters. |
2425
| `phala_attestation` | beta | read | On-demand CVM attestation fetch by `cvm_id` (read-only). |
26+
| data source `phala_app_preflight` | beta | read | Reads preflight app metadata for a declared app shape without deploying CVMs. |
2527

2628
## Terraform UX Parity (DigitalOcean-like)
2729

2830
| Capability | Current |
2931
| --- | --- |
3032
| App-first resource + replica scaling | yes (`phala_app.replicas`) |
33+
| Per-instance app state | yes (`phala_app.instances`) |
34+
| Pre-deploy compose hash / app metadata | yes (`phala_app_preflight`) |
3135
| Separate power resource (`phala_cvm_power`) | yes |
3236
| Per-deploy SSH key injection | yes |
3337
| OS image selection + update | yes (`image`, in-place via `/os-image`) |

0 commit comments

Comments
 (0)