Skip to content

v1.8.2

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Aug 15:02
9e5dc69

Two fixes for issues reported against 1.8.1. No state migration is needed for this release.

Fixed

  • secureworkload_port can now create an ANY service, meaning all protocols and all ports. Leave start_port, end_port and proto out 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_port and end_port you must also set proto, 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_enforce can now manage a workspace that is already enforcing. Before this the apply failed with version 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