Skip to content

Bring Pulumi provider to sync with new fields like terraform - #57

Open
Rupam-It wants to merge 6 commits into
mainfrom
new-fields-1406
Open

Bring Pulumi provider to sync with new fields like terraform#57
Rupam-It wants to merge 6 commits into
mainfrom
new-fields-1406

Conversation

@Rupam-It

Copy link
Copy Markdown
Collaborator

Summary

Same like Terraform provider pull request with a batch of new fields on devzero_node_policy, devzero_workload_rule, and devzero_workload_policy. This PR ports all of them to the Pulumi provider, wired end-to-end (Args struct → SDK docs → toProto → fromProto), so both providers expose the same surface against the backend.

Changes
node_policy (GCP/OCI node classes)

New gcp block: serviceAccount, imageSelectorTerms, imageFamily, kubelet (reuses the existing AWS KubeletConfigurationArgs), labels, metadata, networkTags, disks[].
New oci block: vcnId, imageSelector, subnetSelector, securityGroupSelector, userData, preInstallScript, metaData, imageFamily, tags, freeFormTags, bootConfig, launchOptions, blockDevices[], agentList.
New top-level instanceShapes selector (GCP custom shape tokens) and instanceShapesTip / startupTaintsTip / instanceLocalNvmeTip tooltip fields.
workload_rule (JVM + KEDA)

allowInPlaceMemoryLimitDecrease.
jvmHeapRule — JVM heap sizing overrides (target percentile, headroom multiplier, non-heap overhead, min/max heap bytes, container-support preference).
jvmCpuStartupFloorMillicores.
kedaScaledObject — full KEDA ScaledObject lifecycle: triggers (with auth ref), fallback, advanced behavior, replica/cooldown/polling settings.
workload_policy

emergencyResponse — OOM/CPU-throttle reactions, matching the existing block already supported on workload_rule. Reuses the EmergencyResponseConfigArgs type.
Schema/SDKs

Regenerated schema.json and the Go/Node.js/Python SDKs via make gen-sdk to reflect all of the above.
Also includes a small unrelated proto doc-comment sync (sync proto with service) picked up on this branch.

Signed-off-by: Rupam-It <mannarupam3@gmail.com>
…belet config, disks, boot config, launch options), the instanceShapes selector, and the instanceShapesTip/startupTaintsTip/instanceLocalNvmeTip tooltip fields, bringing node_policy to parity with the Terraform provider.

Signed-off-by: Rupam-It <mannarupam3@gmail.com>
…InPlaceMemoryLimitDecrease

Signed-off-by: Rupam-It <mannarupam3@gmail.com>
Signed-off-by: Rupam-It <mannarupam3@gmail.com>
Signed-off-by: Rupam-It <mannarupam3@gmail.com>
Signed-off-by: Rupam-It <mannarupam3@gmail.com>
@gitar-bot

gitar-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Brings the Pulumi provider into parity with the Terraform provider by adding new fields to devzero_node_policy, devzero_workload_rule, and devzero_workload_policy, alongside regenerated SDKs. No issues found.

Was this helpful? React with 👍 / 👎 | Gitar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant