Skip to content

Fix documentation and installation_targets issue#255

Merged
chkp-tomerassa merged 2 commits into
CheckPointSW:masterfrom
chkp-tomerassa:master
May 18, 2026
Merged

Fix documentation and installation_targets issue#255
chkp-tomerassa merged 2 commits into
CheckPointSW:masterfrom
chkp-tomerassa:master

Conversation

@chkp-tomerassa

Copy link
Copy Markdown
Contributor

No description provided.

The SDK v2 upgrade changed TypeMap fields to TypeList with MaxItems: 1. Update example HCL in website/docs/{r,d}/ to use block syntax (field { ... }) instead of the old map literal syntax (field = { ... }).
@chkp-tomerassa chkp-tomerassa requested a review from chkp-royl May 18, 2026 07:23
MLS-2467: Use GetRawConfig to distinguish an explicitly-empty installation_targets list from an unset field in the Create and Update paths of the package resource. Document the empty-list semantics.

Note: existing resources created on the buggy version (state=[], management=all) cannot be migrated by refresh alone, because the SDK does not pass config to Read during refresh. To migrate, either:
  - Clear installation_targets in SmartConsole and publish, then run `terraform apply -refresh-only`; or
  - Toggle installation_targets to a real value, apply, then back to [].
@chkp-tomerassa chkp-tomerassa merged commit c3472fe into CheckPointSW:master May 18, 2026
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.

2 participants