Repository navigation
Two fixes for issues reported against 1.8.1. No state migration is needed for this release.
Fixed
-
secureworkload_portcan now create an ANY service, meaning all protocols and all ports. Leavestart_port,end_portandprotoout of the resource:resource "secureworkload_port" "any" { policy_id = secureworkload_policies.policy1.id }
Ports cannot be used with a wildcard protocol, so if you set
start_portandend_portyou must also setproto, and if you set one port you must set both. Both cases are now reported before the request is sent instead of coming back as an error from the cluster. (#53) -
secureworkload_enforcecan now manage a workspace that is already enforcing. Before this the apply failed withversion pN is already enforced, and there was no way to import the existing enforcement, so the only option was to disable enforcement first and leave the workspace unenforced until the next apply. (#54)
Import
Enforcement that is already running on a workspace can now be brought into Terraform. The ID is the workspace ID:
terraform import secureworkload_enforce.enforced <workspace-id>Importing only reads the workspace, so the enforcement stays as it is.
Full Changelog: v1.8.1...v1.8.2