Bring Pulumi provider to sync with new fields like terraform - #57
Open
Rupam-It wants to merge 6 commits into
Open
Bring Pulumi provider to sync with new fields like terraform#57Rupam-It wants to merge 6 commits into
Rupam-It wants to merge 6 commits into
Conversation
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>
Code Review ✅ ApprovedBrings the Pulumi provider into parity with the Terraform provider by adding new fields to Was this helpful? React with 👍 / 👎 | Gitar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.