» checkpoint_management_run_script

This resource allows you to execute Check Point Run Script.

» Example Usage

resource "checkpoint_management_run_script" "example" {
  script_name = "Script Example: List files under / dir"
  script = "ls -l /"
  targets = ["corporate-gateway",]

» Argument Reference

The following arguments are supported:

  • script_name - (Required) Script name.
  • script - (Required) Script body.
  • targets - (Required) On what targets to execute this command. Targets may be identified by their name, or object unique identifier.targets blocks are documented below.
  • args - (Optional) Script arguments.
  • comments - (Optional) Comments string.

» How To Use

Make sure this command will be executed in the right execution order. note: terraform execution is not sequential.