Skip to content

Latest commit

 

History

History
110 lines (86 loc) · 2.23 KB

checkpoint_management_access_section.md

File metadata and controls

110 lines (86 loc) · 2.23 KB

checkpoint_management_access_section

back

Index

Terraform

terraform {
  required_providers {
    checkpoint = ">= 1.4.0"
  }
}

top

Example Usage

module "checkpoint_management_access_section" {
  source = "./modules/checkpoint/r/checkpoint_management_access_section"

  # ignore_errors - (optional) is a type of bool
  ignore_errors = null
  # ignore_warnings - (optional) is a type of bool
  ignore_warnings = null
  # layer - (required) is a type of string
  layer = null
  # name - (required) is a type of string
  name = null
  # position - (required) is a type of map of string
  position = {}
}

top

Variables

variable "ignore_errors" {
  description = "(optional) - Apply changes ignoring errors. You won't be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored."
  type        = bool
  default     = null
}

variable "ignore_warnings" {
  description = "(optional) - Apply changes ignoring warnings."
  type        = bool
  default     = null
}

variable "layer" {
  description = "(required) - Layer that the rule belongs to identified by the name or UID."
  type        = string
}

variable "name" {
  description = "(required) - Object name."
  type        = string
}

variable "position" {
  description = "(required) - Position in the rulebase."
  type        = map(string)
}

top

Resource

resource "checkpoint_management_access_section" "this" {
  # ignore_errors - (optional) is a type of bool
  ignore_errors = var.ignore_errors
  # ignore_warnings - (optional) is a type of bool
  ignore_warnings = var.ignore_warnings
  # layer - (required) is a type of string
  layer = var.layer
  # name - (required) is a type of string
  name = var.name
  # position - (required) is a type of map of string
  position = var.position
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = checkpoint_management_access_section.this.id
}

output "this" {
  value = checkpoint_management_access_section.this
}

top